RadioPlaylistItem: Set correct col position for InitFromQuery

Fixes #1430
This commit is contained in:
Jonas Kvinge 2024-04-23 22:34:00 +02:00
parent 542efa17ff
commit 176984afe0
1 changed files with 1 additions and 1 deletions

View File

@ -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;