Skip to content

Commit

Permalink
show music smartplaylists for "playlist" rule for artist smartplaylis…
Browse files Browse the repository at this point in the history
…ts (fixes #13572)
  • Loading branch information
Montellese committed Nov 18, 2012
1 parent f8772de commit 332bbf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp
Expand Up @@ -226,7 +226,7 @@ void CGUIDialogSmartPlaylistRule::OnBrowse()
// think there's any decent way to deal with this, as the infinite loop may be an arbitrary // think there's any decent way to deal with this, as the infinite loop may be an arbitrary
// number of playlists deep, eg playlist1 -> playlist2 -> playlist3 ... -> playlistn -> playlist1 // number of playlists deep, eg playlist1 -> playlist2 -> playlist3 ... -> playlistn -> playlist1
CStdString path = "special://videoplaylists/"; CStdString path = "special://videoplaylists/";
if (m_type.Equals("songs") || m_type.Equals("albums")) if (m_type.Equals("songs") || m_type.Equals("albums") || m_type.Equals("artists"))
path = "special://musicplaylists/"; path = "special://musicplaylists/";
XFILE::CDirectory::GetDirectory(path, items, ".xsp", XFILE::DIR_FLAG_NO_FILE_DIRS); XFILE::CDirectory::GetDirectory(path, items, ".xsp", XFILE::DIR_FLAG_NO_FILE_DIRS);
for (int i = 0; i < items.Size(); i++) for (int i = 0; i < items.Size(); i++)
Expand Down

0 comments on commit 332bbf7

Please sign in to comment.