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

MetadataParser: Simplify multiple artists check

parent 0d71cf26
......@@ -543,9 +543,7 @@ std::shared_ptr<Album> MetadataParser::findAlbum( parser::Task& task, std::share
// Not taking the artist in consideration would cause compilation to
// create multiple albums, especially when track are only partially
// tagged with a year.
if ( ( ( albumArtist != nullptr && albumArtist->id() == candidateAlbumArtist->id() ) ||
( trackArtist != nullptr && trackArtist->id() == candidateAlbumArtist->id() ) ) &&
multipleArtists == false )
if ( multipleArtists == false )
{
auto candidateDate = task.vlcMedia.meta( libvlc_meta_Date );
if ( candidateDate.empty() == false )
......
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