[mythtv-commits] Ticket #4076: Extend shuffle on mythmusic to sort by artist

MythTV mythtv at cvs.mythtv.org
Sat Oct 13 10:53:35 UTC 2007


#4076: Extend shuffle on mythmusic to sort by artist
-------------------------------------------------+--------------------------
 Reporter:  Paul Lambert <paul at planar.id.au>  |       Owner:  ijr    
     Type:  patch                                |      Status:  new    
 Priority:  minor                                |   Milestone:  unknown
Component:  mythmusic                            |     Version:  head   
 Severity:  low                                  |     Mlocked:  0      
-------------------------------------------------+--------------------------
 Extend the shuffle function on mythmusic so that it sorts the playlist by
 artist and then track.

 Requires changes in playbackbox.cpp, playbackbox.h, playlist.cpp to
 implement the core sorting logic.

 I also made a change to generictree.cpp.  It wasn't clear that it was
 essential, but since I added an extra attribute to the tree, it seemed to
 make sense to increase the default number of attributes (the comment said
 that default number was set with mythmusic in mind).  I think there were
 already enough attributes in the default, so arguably this change isn't
 necessary, but since I used another one up, I added one as well.

 To test, run mythmusic, and use the "1" key to toggle through the shuffle
 modes.  There should be a new mode "Artist", and that mode should sort the
 tracks in the current list by artist then track title.

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


More information about the mythtv-commits mailing list