Reorder indexes

It turns out the index *id* controls this, which is probably not good!
custom
jacqueline 4 months ago
parent 33e89a0672
commit 824fca8cd0
  1. 6
      src/tangara/database/index.cpp

@ -57,21 +57,21 @@ const IndexInfo kAllAlbums{
};
const IndexInfo kAllArtists{
.id = 7,
.id = 5,
.type = MediaType::kMusic,
.name = "All Artists",
.components = {Tag::kAllArtists, Tag::kTitle},
};
const IndexInfo kPodcasts{
.id = 5,
.id = 6,
.type = MediaType::kPodcast,
.name = "Podcasts",
.components = {Tag::kAlbum, Tag::kTitle},
};
const IndexInfo kAudiobooks{
.id = 6,
.id = 7,
.type = MediaType::kAudiobook,
.name = "Audiobooks",
.components = {Tag::kAlbum, Tag::kAlbumOrder},

Loading…
Cancel
Save