From 53db8447723c249414a5f805f898b2b1dc583239 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Tue, 12 Apr 2011 20:57:01 +0000 Subject: [PATCH] * Use matching container classes for All Artist/Albums, so they'll go to the top of a class-sorted list. --- scanner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner.c b/scanner.c index fbca68d..de0d592 100644 --- a/scanner.c +++ b/scanner.c @@ -279,7 +279,7 @@ insert_containers(const char * name, const char *path, const char * refID, const strcpy(last_artist.name, artist); last_artistAlbum.name[0] = '\0'; /* Add this file to the "- All Albums -" container as well */ - container = insert_container(_("- All Albums -"), last_artist.parentID, NULL, "storageFolder", artist, genre, NULL); + container = insert_container(_("- All Albums -"), last_artist.parentID, NULL, "person.musicArtist", artist, genre, NULL); sprintf(last_artistAlbumAll.parentID, "%s$%llX", last_artist.parentID, container>>32); last_artistAlbumAll.objectID = (int)container; } @@ -320,7 +320,7 @@ insert_containers(const char * name, const char *path, const char * refID, const strcpy(last_genre.name, genre); last_genreArtist.name[0] = '\0'; /* Add this file to the "- All Artists -" container as well */ - container = insert_container(_("- All Artists -"), last_genre.parentID, NULL, "storageFolder", NULL, genre, NULL); + container = insert_container(_("- All Artists -"), last_genre.parentID, NULL, "person.musicArtist", NULL, genre, NULL); sprintf(last_genreArtistAll.parentID, "%s$%llX", last_genre.parentID, container>>32); last_genreArtistAll.objectID = (int)container; }