Fixed a case where moving a file may be broken (when skipping duplicate MBID is active) + only check for duplicate track MBID (instead of recording MBID) as we have have several different releases sharing the same recording MBID)
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Scanner
|
||||
std::vector<std::filesystem::path> supportedExtensions;
|
||||
Database::ScanSettings::RecommendationEngineType recommendationServiceType;
|
||||
std::filesystem::path mediaDirectory;
|
||||
bool skipDuplicateRecordingMBID {};
|
||||
bool skipDuplicateMBID {};
|
||||
std::set<std::string> clusterTypeNames;
|
||||
|
||||
bool operator==(const ScannerSettings& rhs) const
|
||||
@@ -47,7 +47,7 @@ namespace Scanner
|
||||
&& supportedExtensions == rhs.supportedExtensions
|
||||
&& recommendationServiceType == rhs.recommendationServiceType
|
||||
&& mediaDirectory == rhs.mediaDirectory
|
||||
&& skipDuplicateRecordingMBID == rhs.skipDuplicateRecordingMBID
|
||||
&& skipDuplicateMBID == rhs.skipDuplicateMBID
|
||||
&& clusterTypeNames == rhs.clusterTypeNames;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user