[vlc-devel] [PATCH] medialibrary: Update to recent API changes

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 5 16:49:48 CET 2019


Applied, my bad for not seeing this.

On 3/5/2019 4:28 PM, Hugo Beauzée-Luyssen wrote:
> ---
>   modules/misc/medialibrary/entities.cpp | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/misc/medialibrary/entities.cpp b/modules/misc/medialibrary/entities.cpp
> index 3d92b113c7..9343e01dc3 100644
> --- a/modules/misc/medialibrary/entities.cpp
> +++ b/modules/misc/medialibrary/entities.cpp
> @@ -287,7 +287,7 @@ bool Convert( const medialibrary::IAlbum* input, vlc_ml_album_t& output )
>   
>       if( !strdup_helper( input->title(), output.psz_title ) ||
>           !strdup_helper( input->shortSummary(), output.psz_summary ) ||
> -        !strdup_helper( input->artworkMrl(), output.psz_artwork_mrl ) )
> +        !strdup_helper( input->thumbnailMrl(), output.psz_artwork_mrl ) )
>           return false;
>   
>       auto artist = input->albumArtist();
> @@ -335,7 +335,7 @@ bool Convert( const medialibrary::IArtist* input, vlc_ml_artist_t& output )
>           return false;
>   
>       if( !strdup_helper( input->shortBio(), output.psz_shortbio ) ||
> -        !strdup_helper( input->artworkMrl(), output.psz_artwork_mrl ) ||
> +        !strdup_helper( input->thumbnailMrl(), output.psz_artwork_mrl ) ||
>           !strdup_helper( input->musicBrainzId(), output.psz_mb_id ) )
>           return false;
>       return true;
> -- 
> 2.20.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list