elstensoftware wrote: 
> Anyone else having a problem where their phone keeps getting woken up to
> the lock screen? This is during a track, rather than when a track
> changes.

The android lock screen and notifications code is *very* hacky.
Basically I need to fool Chrome into thinking the web page is playing
audio. To do this I load a silent ogg file, get it to play and
immediately pause. This is the repeated every 15 seconds - which is why
you can see the play icon flicker from play/pause/play. If I don't do
this, the audio is in the paused state for too long (as I don't want to
actually play the file) and the controls disappear. I used to be able to
manually set the play/pause icon - but alas no more. Hence why when the
song is paused I add a pause icon next to the song title.

All that being said, my screen stays off and is not awoken by any of
this. Perhaps its Android version? I'm


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to