* Remove .musicArtist from All Artists, so it doesn't get included in UPnP search requests for object.container.person.musicArtist.
This commit is contained in:
parent
414b3dffc8
commit
9c6dc1029a
@ -279,7 +279,7 @@ insert_containers(const char * name, const char *path, const char * refID, const
|
|||||||
strcpy(last_artist.name, artist);
|
strcpy(last_artist.name, artist);
|
||||||
last_artistAlbum.name[0] = '\0';
|
last_artistAlbum.name[0] = '\0';
|
||||||
/* Add this file to the "- All Albums -" container as well */
|
/* 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);
|
sprintf(last_artistAlbumAll.parentID, "%s$%llX", last_artist.parentID, container>>32);
|
||||||
last_artistAlbumAll.objectID = (int)container;
|
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);
|
strcpy(last_genre.name, genre);
|
||||||
last_genreArtist.name[0] = '\0';
|
last_genreArtist.name[0] = '\0';
|
||||||
/* Add this file to the "- All Artists -" container as well */
|
/* 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);
|
sprintf(last_genreArtistAll.parentID, "%s$%llX", last_genre.parentID, container>>32);
|
||||||
last_genreArtistAll.objectID = (int)container;
|
last_genreArtistAll.objectID = (int)container;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user