Song: Add playcount and rating to `Song::IsMetadataEqual()`

This commit is contained in:
Jonas Kvinge 2021-10-30 19:06:46 +02:00
parent 5eae3ddd8a
commit 1223469be9
1 changed files with 3 additions and 1 deletions

View File

@ -1588,7 +1588,9 @@ bool Song::IsMetadataEqual(const Song &other) const {
d->bitrate_ == other.d->bitrate_ &&
d->samplerate_ == other.d->samplerate_ &&
d->bitdepth_ == other.d->bitdepth_ &&
d->cue_path_ == other.d->cue_path_;
d->cue_path_ == other.d->cue_path_ &&
d->playcount_ == other.d->playcount_ &&
d->rating_ == other.d->rating_;
}
bool Song::IsMetadataAndMoreEqual(const Song &other) const {