Song: Add playcount and rating to `Song::IsMetadataEqual()`
This commit is contained in:
parent
5eae3ddd8a
commit
1223469be9
|
@ -1588,7 +1588,9 @@ bool Song::IsMetadataEqual(const Song &other) const {
|
||||||
d->bitrate_ == other.d->bitrate_ &&
|
d->bitrate_ == other.d->bitrate_ &&
|
||||||
d->samplerate_ == other.d->samplerate_ &&
|
d->samplerate_ == other.d->samplerate_ &&
|
||||||
d->bitdepth_ == other.d->bitdepth_ &&
|
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 {
|
bool Song::IsMetadataAndMoreEqual(const Song &other) const {
|
||||||
|
|
Loading…
Reference in New Issue