Skip to content
This repository
Browse code

show music smartplaylists for "playlist" rule for artist smartplaylis…

…ts (fixes #13572)
  • Loading branch information...
commit 332bbf7ea0ac868a6c0ec288f9f55d228c457f2f 1 parent f8772de
Sascha Montellese authored November 18, 2012
2  xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp
@@ -226,7 +226,7 @@ void CGUIDialogSmartPlaylistRule::OnBrowse()
226 226
     //       think there's any decent way to deal with this, as the infinite loop may be an arbitrary
227 227
     //       number of playlists deep, eg playlist1 -> playlist2 -> playlist3 ... -> playlistn -> playlist1
228 228
     CStdString path = "special://videoplaylists/";
229  
-    if (m_type.Equals("songs") || m_type.Equals("albums"))
  229
+    if (m_type.Equals("songs") || m_type.Equals("albums") || m_type.Equals("artists"))
230 230
       path = "special://musicplaylists/";
231 231
     XFILE::CDirectory::GetDirectory(path, items, ".xsp", XFILE::DIR_FLAG_NO_FILE_DIRS);
232 232
     for (int i = 0; i < items.Size(); i++)

0 notes on commit 332bbf7

Please sign in to comment.
Something went wrong with that request. Please try again.