Collectionwatcher: sink PerformEBUR128Analysis() into ScanNewFile & friends

This commit is contained in:
Roman Lebedev
2023-07-11 20:10:29 +03:00
committed by Jonas Kvinge
parent 1462bfa297
commit bda2b91c92
4 changed files with 38 additions and 57 deletions

View File

@@ -788,6 +788,13 @@ bool Song::IsMusicBrainzEqual(const Song &other) const {
}
bool Song::IsEBUR128Equal(const Song &other) const {
return d->ebur128_integrated_loudness_lufs_ == other.d->ebur128_integrated_loudness_lufs_ &&
d->ebur128_loudness_range_lu_ == other.d->ebur128_loudness_range_lu_;
}
bool Song::IsArtEqual(const Song &other) const {
return d->art_embedded_ == other.d->art_embedded_ &&