Save effective_albumartist as empty istead of null

Since we use the metadata now instead of the container keys for queries in
the model, there is a regression when the values are null.
This commit is contained in:
Jonas Kvinge 2020-10-20 17:12:28 +02:00
parent 6f72e3e2ea
commit 2dfa171b6a
1 changed files with 1 additions and 1 deletions

View File

@ -1372,7 +1372,7 @@ void Song::BindToQuery(QSqlQuery *query) const {
query->bindValue(":art_automatic", d->art_automatic_.toString(QUrl::FullyEncoded));
query->bindValue(":art_manual", d->art_manual_.toString(QUrl::FullyEncoded));
query->bindValue(":effective_albumartist", this->effective_albumartist());
query->bindValue(":effective_albumartist", strval(this->effective_albumartist()));
query->bindValue(":effective_originalyear", intval(this->effective_originalyear()));
query->bindValue(":cue_path", d->cue_path_);