Merge pull request #8 from supertobi/patch-1

Update slideshowMusic.lua
This commit is contained in:
Boucman
2015-08-21 19:52:49 +02:00

View File

@@ -59,9 +59,11 @@ local function playSlideshowMusic(_, old_view, new_view)
--dt.print_error(playCommand)
coroutine.yield("RUN_COMMAND", playCommand)
else
stopCommand = "rhythmbox-client --pause"
--dt.print_error(stopCommand)
coroutine.yield("RUN_COMMAND", stopCommand)
if (old_view.id == "slideshow") then
stopCommand = "rhythmbox-client --pause"
--dt.print_error(stopCommand)
coroutine.yield("RUN_COMMAND", stopCommand)
end
end
end
end