Propose collection rescan on upgrade

This commit is contained in:
Mark
2025-07-28 12:44:08 +02:00
committed by Jonas Kvinge
parent 31380a5bd4
commit d4858a338c
2 changed files with 8 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ CollectionLibrary::CollectionLibrary(const SharedPtr<Database> database,
model_ = new CollectionModel(backend_, albumcover_loader, this);
full_rescan_revisions_[21] = tr("Support for sort tags artist, album, album artist, title, composer, and performer");
ReloadSettings();
}

View File

@@ -1000,9 +1000,13 @@ bool Song::IsFileInfoEqual(const Song &other) const {
bool Song::IsMetadataEqual(const Song &other) const {
return d->title_ == other.d->title_ &&
d->titlesort_ == other.d->titlesort_ &&
d->album_ == other.d->album_ &&
d->albumsort_ == other.d->albumsort_ &&
d->artist_ == other.d->artist_ &&
d->artistsort_ == other.d->artistsort_ &&
d->albumartist_ == other.d->albumartist_ &&
d->albumartistsort_ == other.d->albumartistsort_ &&
d->track_ == other.d->track_ &&
d->disc_ == other.d->disc_ &&
d->year_ == other.d->year_ &&
@@ -1010,7 +1014,9 @@ bool Song::IsMetadataEqual(const Song &other) const {
d->genre_ == other.d->genre_ &&
d->compilation_ == other.d->compilation_ &&
d->composer_ == other.d->composer_ &&
d->composersort_ == other.d->composersort_ &&
d->performer_ == other.d->performer_ &&
d->performersort_ == other.d->performersort_ &&
d->grouping_ == other.d->grouping_ &&
d->comment_ == other.d->comment_ &&
d->lyrics_ == other.d->lyrics_ &&