From 9c6dc1029a65e5c11c0e3f3fa77b1225b8d8f8fb Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Wed, 13 Apr 2011 23:08:21 +0000 Subject: [PATCH] * Remove .musicArtist from All Artists, so it doesn't get included in UPnP search requests for object.container.person.musicArtist. --- scanner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner.c b/scanner.c index de0d592..ba58510 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, "person.musicArtist", artist, genre, NULL); + container = insert_container(_("- All Albums -"), last_artist.parentID, NULL, "album", 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, "person.musicArtist", NULL, genre, NULL); + container = insert_container(_("- All Artists -"), last_genre.parentID, NULL, "person", NULL, genre, NULL); sprintf(last_genreArtistAll.parentID, "%s$%llX", last_genre.parentID, container>>32); last_genreArtistAll.objectID = (int)container; }