[mythtv-commits] Ticket #4222: Update MythMusic to continue playing in the background after exiting it.

MythTV mythtv at cvs.mythtv.org
Sun Dec 2 23:38:03 UTC 2007


#4222: Update MythMusic to continue playing in the background after exiting it.
-------------------------+--------------------------------------------------
 Reporter:  paulh        |        Owner:  paulh
     Type:  enhancement  |       Status:  new  
 Priority:  minor        |    Milestone:  0.21 
Component:  mythmusic    |      Version:  head 
 Severity:  medium       |   Resolution:       
  Mlocked:  0            |  
-------------------------+--------------------------------------------------

Old description:

> This is a preview patch that I would like anyone who is interested in
> this feature to test and provide some feedback.
>
> It allows you to start a playlist playing in MythMusic then exit and use
> other parts of myth while continuing to play music in the background.
>
> When you exit the MythMusic playback screen you are given the option to
> exit and stop playing or exit and continue playing. If you choose to
> continue playing you can then use other parts of Myth while your music is
> still playing.
>
> When a new track starts and you are not in the main music playback screen
> a mini popup player is shown for a few seconds then disappears. While the
> mini player is on screen you can press Escape to remove it or press
> SELECT and it will stay on screen until you press escape. There is also a
> new jump point that will instantly show the mini player anywhere in Myth
> except when playing tv/video etc. While the miniplayer is on screen you
> can use most of the key bindings available in the main playback screen to
> change tracks, fast forward, rewind, pause, stop, mute the audio,
> increase/decrease the volume etc. Like other part of Myth the miniplayer
> is fully themeable.
>
> TODO:
>
> Test the Repeat and Shuffle modes are working correctly.
>
> CD track playback works but returning to the main playback screen always
> rescans the CD and starts playing from the first track again rather that
> continuing where it left of.
>
> Add a mechanism to detect when something else needs the audio output,
> like playing a recording, live TV or a DVD for example and pause/stop the
> music player while it's in use then possibly restart playing after it's
> finished. Currently you have to stop music playback before playing
> anything else.

New description:

 This is a preview patch that I would like anyone who is interested in this
 feature to test and provide some feedback.

 It allows you to start a playlist playing in MythMusic then exit and use
 other parts of myth while continuing to play music in the background.

 When you exit the MythMusic playback screen you are given the option to
 exit and stop playing or exit and continue playing. If you choose to
 continue playing you can then use other parts of Myth while your music is
 still playing.

 When a new track starts and you are not in the main music playback screen
 a mini popup player is shown for a few seconds then disappears. While the
 mini player is on screen you can press Escape to remove it or press SELECT
 and it will stay on screen until you press escape. There is also a new
 jump point that will instantly show the mini player anywhere in Myth
 except when playing tv/video etc. While the miniplayer is on screen you
 can use most of the key bindings available in the main playback screen to
 change tracks, fast forward, rewind, pause, stop, mute the audio,
 increase/decrease the volume etc. Like other part of Myth the miniplayer
 is fully themeable.

 TODO:

 CD track playback works but returning to the main playback screen always
 rescans the CD and starts playing from the first track again rather that
 continuing where it left of.

--

Comment(by paulh):

 Attached an updated patch.

  * Create a global MusicData object and use that rather than keep passing
 MusicData, AllMusic and PlayListContainer pointers all over the place.

  * Fix Otto's cover art image resize problem.

  * Stop the music player when either live TV or a recording is playing and
 then restart it when playback finishes. Should also fix Matt's
 disappearing audio problem after using the music player. This needs MythTV
 to be updated to r15019 or later for it to work properly.

  * All resume modes should now be working.

  * All repeat modes should now be working.

  * I think all the shuffle modes are working OK.

  * Hopefully fix the star ratings, play count & last play metadata not
 being saved/synced between the miniplayer and the main player. Still needs
 testing.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4222#comment:21>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list