Opened 16 years ago
Closed 16 years ago
#4076 closed patch (fixed)
Extend shuffle on mythmusic to sort by artist
Reported by: | Paul Lambert <paul at planar.id.au> | Owned by: | paulh |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythmusic | Version: | head |
Severity: | low | Keywords: | shuffle |
Cc: | Ticket locked: | no |
Description
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.
Attachments (2)
Change History (4)
Changed 16 years ago by
Attachment: | artistshuffle.patch.libmyth added |
---|
comment:1 Changed 16 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to paulh |
patch file for libmyth