[vlc-devel] [PATCH 3/3] medialibrary: fix artist tracks beeing interpreted as album tracks
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Apr 12 15:18:03 CEST 2019
On Fri, Apr 12, 2019, at 2:23 PM, Pierre Lamot wrote:
> ---
> 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:
Oops. LGTM
--
Hugo Beauzée-Luyssen
hugo at beauzee.fr
More information about the vlc-devel
mailing list