Ticket #1676: AlbumSort-mythtv.patch

File AlbumSort-mythtv.patch, 1.4 KB (added by jppoet@…, 14 years ago)

patch for mythtv

  • libs/libmyth/lcddevice.h

     
    121121        MUSIC_SHUFFLE_NONE  = 0,
    122122        MUSIC_SHUFFLE_RAND  = 1,
    123123        MUSIC_SHUFFLE_SMART = 2,
     124        MUSIC_SHUFFLE_ALBUM = 3
    124125    };
    125126
    126127    static class LCD * Get(void);
  • libs/libmyth/generictree.cpp

     
    9797    m_selected_subnode = NULL;
    9898    m_current_ordering_index = -1;
    9999
    100     // Use 4 here, because we know that's what mythmusic wants (limits resizing)
    101     m_attributes = new IntVector(4);
     100    // Use 5 here, because we know that's what mythmusic wants (limits resizing)
     101    m_attributes = new IntVector(5);
    102102   
    103103    m_string = a_string;
    104104    m_int = an_int;
  • programs/mythlcdserver/lcdprocclient.cpp

     
    18951895        {
    18961896            shuffle = "S:i ";
    18971897        }
     1898        else if (music_shuffle == 3)
     1899        {
     1900            shuffle = "S:a ";
     1901        }
    18981902
    18991903        if (music_repeat == 1)
    19001904        {