Bugzilla – Bug 5660
Pause button on Jive should start playback if player is stopped
Last modified: 2007-10-30 10:27:52 UTC
Felix has a patch for this for the existing remote, but this doesn't work on Jive.
something like this should be enough: Index: C:/slim/src/pkg/jive/share/jive/slim/Player.lua =================================================================== --- C:/slim/src/pkg/jive/share/jive/slim/Player.lua (revision 633) +++ C:/slim/src/pkg/jive/share/jive/slim/Player.lua (working copy) @@ -484,9 +484,7 @@ local paused = self.state["mode"] log:debug("Player:togglePause(", paused, ")") - if paused == 'stop' then - return - elseif paused == 'pause' then + if paused == 'stop' or paused == 'pause' then self:call({'pause', '0'}) self.state["mode"] = 'play' elseif paused == 'play' then
Looks good to me, but I haven't tested.
It works as you have described. committed at r637. I'll leave open for when the SC patch is in to make the remote control match up.
Richard considers this fixed. Please reopen if there continues to be a problem.