[vlc-commits] medialibrary: Update to recent API changes

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 5 16:49:27 CET 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar  5 16:28:27 2019 +0100| [962b9edfc3675ba301dd7bec36c254e107a40029] | committer: Steve Lhomme

medialibrary: Update to recent API changes

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=962b9edfc3675ba301dd7bec36c254e107a40029
---

 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;



More information about the vlc-commits mailing list