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:
parent
ae1805916c
commit
5cdd9d0fb1
21 changed files with 316 additions and 55 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue