Commit ff1937ae authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MetadataParser: Clarify parameters assumptions

parent f58abdaa
......@@ -451,7 +451,10 @@ bool MetadataParser::link( Media& media, std::shared_ptr<Album> album,
std::shared_ptr<Artist> albumArtist, std::shared_ptr<Artist> artist )
if ( albumArtist == nullptr )
assert( artist != nullptr );
albumArtist = artist;
// We might modify albumArtist later, hence handle thumbnails before.
// If we have an albumArtist (meaning the track was properly tagged, we
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment