Skip to content

Commit

Permalink
Take labels into account to avoid merging unrelated albums, ref #550
Browse files Browse the repository at this point in the history
  • Loading branch information
epoupon committed Nov 13, 2024
1 parent aef7770 commit 0164038
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/services/scanner/impl/ScanStepScanFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ namespace lms::scanner
return candidateRelease->getName() == releaseInfo.name
&& candidateRelease->getSortName() == releaseInfo.sortName
&& candidateRelease->getTotalDisc() == releaseInfo.mediumCount
&& candidateRelease->isCompilation() == releaseInfo.isCompilation;
&& candidateRelease->isCompilation() == releaseInfo.isCompilation
&& candidateRelease->getLabelNames() == releaseInfo.labels;
}

Release::pointer getOrCreateRelease(Session& session, const metadata::Release& releaseInfo, const Directory::pointer& currentDirectory)
Expand Down

0 comments on commit 0164038

Please sign in to comment.