[vlc-devel] [PATCH 3/3] medialibrary: fix artist tracks beeing interpreted as album tracks
Pierre Lamot
pierre at videolabs.io
Fri Apr 12 14:22:41 CEST 2019
---
modules/misc/medialibrary/medialib.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/medialibrary/medialib.cpp b/modules/misc/medialibrary/medialib.cpp
index fc636ee95b..a66c0e1f09 100644
--- a/modules/misc/medialibrary/medialib.cpp
+++ b/modules/misc/medialibrary/medialib.cpp
@@ -996,7 +996,7 @@ int MediaLibrary::filterListChildrenQuery( int query, int parentType )
case VLC_ML_PARENT_ALBUM:
return VLC_ML_LIST_ALBUM_TRACKS;
case VLC_ML_PARENT_ARTIST:
- return VLC_ML_LIST_ALBUM_TRACKS;
+ return VLC_ML_LIST_ARTIST_TRACKS;
case VLC_ML_PARENT_SHOW:
return VLC_ML_LIST_SHOW_EPISODES;
case VLC_ML_PARENT_GENRE:
@@ -1012,7 +1012,7 @@ int MediaLibrary::filterListChildrenQuery( int query, int parentType )
case VLC_ML_PARENT_ALBUM:
return VLC_ML_COUNT_ALBUM_TRACKS;
case VLC_ML_PARENT_ARTIST:
- return VLC_ML_COUNT_ALBUM_TRACKS;
+ return VLC_ML_COUNT_ARTIST_TRACKS;
case VLC_ML_PARENT_SHOW:
return VLC_ML_COUNT_SHOW_EPISODES;
case VLC_ML_PARENT_GENRE:
--
2.19.1
More information about the vlc-devel
mailing list