mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 02:26:44 +01:00
Fix collection update for art_manual
This commit is contained in:
parent
04bbff338d
commit
cff25374b5
@ -1147,7 +1147,7 @@ void CollectionBackend::UpdateManualAlbumArt(const QString &effective_albumartis
|
|||||||
// Update the songs
|
// Update the songs
|
||||||
QString sql(QString("UPDATE %1 SET art_manual = :cover").arg(songs_table_));
|
QString sql(QString("UPDATE %1 SET art_manual = :cover").arg(songs_table_));
|
||||||
if (clear_art_automatic) {
|
if (clear_art_automatic) {
|
||||||
sql += "AND art_automatic = '' ";
|
sql += ", art_automatic = ''";
|
||||||
}
|
}
|
||||||
sql += " WHERE effective_albumartist = :effective_albumartist AND album = :album AND unavailable = 0";
|
sql += " WHERE effective_albumartist = :effective_albumartist AND album = :album AND unavailable = 0";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user