mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
The playback wake lock is released when a song ends, because the queue is not playing until the next song starts. A local song starts within milliseconds; a cast one needs the TV to fetch it from this device first, which takes seconds and, with the screen off, ran without any wake lock. Hold a 60 second wake lock from the moment the receiver reports the song finished, and from each load. It expires by itself and is dropped with the session.