diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-12-23 16:08:47 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-12-30 14:59:54 +1100 |
| commit | e9e608cfa09792a64fbda0946c92ec396622a088 (patch) | |
| tree | ce1ad5109ed338c71438e7491481d8d81843093f /src/tangara/database/database.cpp | |
| parent | e09ab5f6fbcc6395d5f0fbe7e5407483358919c3 (diff) | |
| download | tangara-fw-e9e608cfa09792a64fbda0946c92ec396622a088.tar.gz | |
Add a new track tag + index for multiple artists
We still mostly use the singular 'Artist' tag for e.g. displaying a nice
name in the now playing screen, but where a track has an 'ARTISTS=' tag,
we'll split by semicolon and then use the resulting list to populate an
index of tracks by artist
Diffstat (limited to 'src/tangara/database/database.cpp')
| -rw-r--r-- | src/tangara/database/database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/database/database.cpp b/src/tangara/database/database.cpp index 9851b041..67893b6e 100644 --- a/src/tangara/database/database.cpp +++ b/src/tangara/database/database.cpp @@ -292,7 +292,7 @@ auto Database::setTrackData(TrackId id, const TrackData& data) -> void { auto Database::getIndexes() -> std::vector<IndexInfo> { // TODO(jacqueline): This probably needs to be async? When we have runtime // configurable indexes, they will need to come from somewhere. - return {kAllTracks, kAllAlbums, kAlbumsByArtist, + return {kAllTracks, kAllAlbums, kAllArtists, kAlbumsByArtist, kTracksByGenre, kPodcasts, kAudiobooks}; } |
