Add Dropbox

This commit is contained in:
Jonas Kvinge
2025-01-26 11:05:07 +01:00
parent da2f28811a
commit 5c57c923d9
42 changed files with 2032 additions and 9 deletions

View File

@@ -41,9 +41,12 @@ bool CollectionPlaylistItem::InitFromQuery(const SqlRow &query) {
case Song::Source::Collection:
col = 0;
break;
default:
case Song::Source::Dropbox:
col = static_cast<int>(Song::kRowIdColumns.count());
break;
default:
col = static_cast<int>(Song::kRowIdColumns.count() * 2);
break;
}
song_.InitFromQuery(query, true, col);