Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
92dd5706
Commit
92dd5706
authored
Oct 22, 2015
by
Hugo Beauzée-Luyssen
Browse files
VLCMetadataService: Set the artist artwork
parent
f103db07
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/metadata_services/vlc/VLCMetadataService.cpp
View file @
92dd5706
...
...
@@ -232,6 +232,9 @@ bool VLCMetadataService::handleArtist( std::shared_ptr<Album> album, std::shared
{
if
(
album
->
addArtist
(
artist
)
==
false
)
LOG_WARN
(
"Failed to add artist "
,
artist
->
name
(),
" to album "
,
album
->
title
()
);
// This is the first time we have both artist & album, use this opportunity to set an artist artwork.
if
(
artist
->
artworkUrl
().
empty
()
==
true
)
artist
->
setArtworkUrl
(
album
->
artworkUrl
()
);
}
}
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment