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:
parent
6f72e3e2ea
commit
2dfa171b6a
|
@ -1372,7 +1372,7 @@ void Song::BindToQuery(QSqlQuery *query) const {
|
||||||
query->bindValue(":art_automatic", d->art_automatic_.toString(QUrl::FullyEncoded));
|
query->bindValue(":art_automatic", d->art_automatic_.toString(QUrl::FullyEncoded));
|
||||||
query->bindValue(":art_manual", d->art_manual_.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(":effective_originalyear", intval(this->effective_originalyear()));
|
||||||
|
|
||||||
query->bindValue(":cue_path", d->cue_path_);
|
query->bindValue(":cue_path", d->cue_path_);
|
||||||
|
|
Loading…
Reference in New Issue