Sleep Mask (internal player)

by Corey Bruns

Version 1 (August 1, 2020)

Download (0 downloads)

Plays a stream through a selected bluetooth device (like this one: https://www.amazon.com/dp/B07TJW1M4M?ref=ppx_pop_mob_ap_share ) for about 45 minutes (or other time set in block 22) or until the device is disconnected, then shuts off bluetooth for 5+ minutes so the device will power off. Then resets for next connection. Time block 54 should be edited for your night/nap time; currently is 2pm to 8am. Block 40 sets an array with the urls to choose from-can be as large as you like. A starting entry of the array is randomly chosen each time the BT device connects. If one fails, will step through the next several. Some streams (icecast?) don't work-use vlc version instead.