fixed: #10799 - "order by" has no effect in album type smartplaylists. Thanks to...
authorjmarshallnz <jmarshallnz@svn>
Mon, 6 Dec 2010 07:03:04 +0000 (07:03 +0000)
committerjmarshallnz <jmarshallnz@svn>
Mon, 6 Dec 2010 07:03:04 +0000 (07:03 +0000)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35577 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/GUIViewState.cpp

index 20d7b2a..063b033 100644 (file)
@@ -74,6 +74,8 @@ CGUIViewState* CGUIViewState::GetViewState(int windowId, const CFileItemList& it
   {
     if (items.GetContent() == "songs")
       return new CGUIViewStateMusicSmartPlaylist(items);
+    else if (items.GetContent() == "albums")
+      return new CGUIViewStateMusicSmartPlaylist(items);
     else if (items.GetContent() == "musicvideos") // TODO: Update this
       return new CGUIViewStateMusicSmartPlaylist(items);
     else if (items.GetContent() == "tvshows")