RadioPlaylistItem: Set correct col position for InitFromQuery
Fixes #1430
This commit is contained in:
parent
542efa17ff
commit
176984afe0
|
@ -38,7 +38,7 @@ RadioPlaylistItem::RadioPlaylistItem(const Song &metadata)
|
|||
|
||||
bool RadioPlaylistItem::InitFromQuery(const SqlRow &query) {
|
||||
|
||||
metadata_.InitFromQuery(query, false);
|
||||
metadata_.InitFromQuery(query, false, static_cast<int>(Song::kRowIdColumns.count()));
|
||||
InitMetadata();
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue