1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

consolidate Artist & MusicArtist

This commit is contained in:
Luke Pulverenti 2013-11-21 15:48:26 -05:00
parent ae1805916c
commit 5cdd9d0fb1
21 changed files with 316 additions and 55 deletions

View file

@ -37,7 +37,7 @@
return ApiClient.getGameGenre(name, Dashboard.getCurrentUserId());
}
name = getParameterByName('artist');
name = getParameterByName('musicartist');
if (name) {
return ApiClient.getArtist(name, Dashboard.getCurrentUserId());
@ -134,7 +134,7 @@
if (context == "music" && item.Type == "MusicGenre") {
$('#musicGenreTabs', page).show();
}
if (context == "music" && item.Type == "Artist") {
if (context == "music" && item.Type == "MusicArtist") {
$('#artistTabs', page).show();
}
if (context == "games" && item.Type == "GameGenre") {
@ -389,7 +389,7 @@
else if (currentItem.Type == "Studio") {
query.Studios = currentItem.Name;
}
else if (currentItem.Type == "Artist") {
else if (currentItem.Type == "MusicArtist") {
query.Artists = currentItem.Name;
}
}