1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-22 13:40:28 +01:00

Fix collection update for art_manual

This commit is contained in:
Jonas Kvinge 2021-03-07 05:37:07 +01:00
parent 04bbff338d
commit cff25374b5

View File

@ -1147,7 +1147,7 @@ void CollectionBackend::UpdateManualAlbumArt(const QString &effective_albumartis
// Update the songs
QString sql(QString("UPDATE %1 SET art_manual = :cover").arg(songs_table_));
if (clear_art_automatic) {
sql += "AND art_automatic = '' ";
sql += ", art_automatic = ''";
}
sql += " WHERE effective_albumartist = :effective_albumartist AND album = :album AND unavailable = 0";