[vlc-devel] [PATCH] medialibrary: Update to recent API changes
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue Mar 5 16:28:27 CET 2019
---
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
More information about the vlc-devel
mailing list