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{ const IndexInfo kAllArtists{
.id = 7, .id = 5,
.type = MediaType::kMusic, .type = MediaType::kMusic,
.name = "All Artists", .name = "All Artists",
.components = {Tag::kAllArtists, Tag::kTitle}, .components = {Tag::kAllArtists, Tag::kTitle},
}; };
const IndexInfo kPodcasts{ const IndexInfo kPodcasts{
.id = 5, .id = 6,
.type = MediaType::kPodcast, .type = MediaType::kPodcast,
.name = "Podcasts", .name = "Podcasts",
.components = {Tag::kAlbum, Tag::kTitle}, .components = {Tag::kAlbum, Tag::kTitle},
}; };
const IndexInfo kAudiobooks{ const IndexInfo kAudiobooks{
.id = 6, .id = 7,
.type = MediaType::kAudiobook, .type = MediaType::kAudiobook,
.name = "Audiobooks", .name = "Audiobooks",
.components = {Tag::kAlbum, Tag::kAlbumOrder}, .components = {Tag::kAlbum, Tag::kAlbumOrder},

Loading…
Cancel
Save