[mythtv-commits] Ticket #783: Pausing in mythmusic doesn't work, unpausing restarts track

MythTV mythtv at cvs.mythtv.org
Sat Dec 10 15:12:07 EST 2005


#783: Pausing in mythmusic doesn't work, unpausing restarts track
------------------------------------+---------------------------------------
 Reporter:  eskil <myth at eskil.org>  |       Owner:  ijr
     Type:  defect                  |      Status:  new
 Priority:  minor                   |   Milestone:     
Component:  mythmusic               |     Version:     
 Severity:  medium                  |  
------------------------------------+---------------------------------------
 If you're eg. 4mins into a track and pause, all looks well. But when hit
 pause again, the track just restarts.

 The logic for unpausing is faulty in that it only knows of the two states
 that the `{{{bool isplaying}}}' can show. Pausing makes the outputdevice
 stop playing and toggles isplaying to false. But unpausing now doesn't
 know if we were playing and paused or if we're stopped, so it just
 restarts the track.

 Attached patch replaces '{{{bool isplaying}}}` with a state variable that
 that can indicate we're paused and should resume.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/783>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list