Allow screensaver from paused NowPlaying
This commit is contained in:
parent
6ba1fe3c8b
commit
1c55378844
|
@ -205,8 +205,14 @@ end sub
|
|||
function playAction() as boolean
|
||||
if m.top.audio.state = "playing"
|
||||
m.top.audio.control = "pause"
|
||||
' Allow screen to go to real screensaver
|
||||
WriteAsciiFile("tmp:/scene.temp", "nowplaying-paused")
|
||||
MoveFile("tmp:/scene.temp", "tmp:/scene")
|
||||
else if m.top.audio.state = "paused"
|
||||
m.top.audio.control = "resume"
|
||||
' Write screen tracker for screensaver
|
||||
WriteAsciiFile("tmp:/scene.temp", "nowplaying")
|
||||
MoveFile("tmp:/scene.temp", "tmp:/scene")
|
||||
end if
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue
Block a user