Ticket #4076: artistshuffle.patch.libmyth

File artistshuffle.patch.libmyth, 1.0 KB (added by Paul Lambert <paul at planar.id.au>, 14 years ago)

patch file for libmyth

Line 
1Index: libs/libmyth/lcddevice.h
2===================================================================
3--- libs/libmyth/lcddevice.h    (revision 14675)
4+++ libs/libmyth/lcddevice.h    (working copy)
5@@ -124,7 +124,8 @@
6         MUSIC_SHUFFLE_NONE  = 0,
7         MUSIC_SHUFFLE_RAND  = 1,
8         MUSIC_SHUFFLE_SMART = 2,
9-        MUSIC_SHUFFLE_ALBUM = 3
10+        MUSIC_SHUFFLE_ALBUM = 3,
11+        MUSIC_SHUFFLE_ARTIST = 4
12     };
13 
14     static class LCD * Get(void);
15Index: libs/libmyth/generictree.cpp
16===================================================================
17--- libs/libmyth/generictree.cpp        (revision 14675)
18+++ libs/libmyth/generictree.cpp        (working copy)
19@@ -97,8 +97,8 @@
20     m_selected_subnode = NULL;
21     m_current_ordering_index = -1;
22 
23-    // Use 5 here, because we know that's what mythmusic wants (limits resizing)
24-    m_attributes = new IntVector(5);
25+    // Use 6 here, because we know that's what mythmusic wants (limits resizing)
26+    m_attributes = new IntVector(6);
27     
28     m_string = a_string;
29     m_int = an_int;