~x3lectric/xbmc/svn-trunk

« back to all changes in this revision

Viewing changes to xbmc/GUIViewStateMusic.cpp

  • Committer: bobbin007
  • Date: 2006-02-21 16:35:24 UTC
  • Revision ID: svn-v4:568bbfeb-2a22-0410-94d2-cc84cf5bfa90:trunk/XBMC:5074
added: music nav, "Compilation" folder, it shows all Various Artists albums

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
      SetSortOrder(g_stSettings.m_MyMusicNavArtistsSortOrder);
104
104
    }
105
105
    break;
 
106
  case NODE_TYPE_ALBUM_COMPILATIONS:
106
107
  case NODE_TYPE_ALBUM:
107
108
    {
108
109
      if (g_guiSettings.GetBool("MyMusic.IgnoreTheWhenSorting"))
192
193
      SetSortOrder(SORT_ORDER_NONE);
193
194
    }
194
195
    break;
 
196
  case NODE_TYPE_ALBUM_COMPILATIONS_SONGS:
195
197
  case NODE_TYPE_SONG:
196
198
    {
197
199
      AddSortMethod(SORT_METHOD_TRACKNUM, 266, LABEL_MASKS("%N. %A - %T", "%D"));  // TrackNum, Artist, Title, Duration| empty, empty
270
272
      g_stSettings.m_MyMusicNavArtistsSortOrder=GetSortOrder();
271
273
    }
272
274
    break;
 
275
  case NODE_TYPE_ALBUM_COMPILATIONS:
273
276
  case NODE_TYPE_ALBUM:
274
277
    {
275
278
      g_stSettings.m_MyMusicNavAlbumsSortMethod=GetSortMethod();
304
307
      g_stSettings.m_MyMusicNavAlbumsViewMethod=GetViewAsControl();
305
308
    }
306
309
    break;
 
310
  case NODE_TYPE_ALBUM_COMPILATIONS_SONGS:
307
311
  case NODE_TYPE_SONG:
308
312
    {
309
313
      g_stSettings.m_MyMusicNavSongsSortMethod=GetSortMethod();