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