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
|
@ -18,10 +18,10 @@
|
|||
function getBaseRemoteOptions() {
|
||||
var options = {};
|
||||
|
||||
if (currentItem.Type == "Artist") {
|
||||
options.artist = currentItem.Name;
|
||||
if (currentItem.Type == "Year") {
|
||||
options.year = currentItem.Name;
|
||||
}
|
||||
else if (currentItem.Type == "Artist") {
|
||||
else if (currentItem.Type == "MusicArtist") {
|
||||
options.artist = currentItem.Name;
|
||||
}
|
||||
else if (currentItem.Type == "Person") {
|
||||
|
@ -157,7 +157,7 @@
|
|||
if (currentItem.Type == "Episode") {
|
||||
cssClass += " remoteBackdropImage";
|
||||
}
|
||||
else if (currentItem.Type == "MusicAlbum" || currentItem.Type == "MusicArtist" || currentItem.Type == "Artist") {
|
||||
else if (currentItem.Type == "MusicAlbum" || currentItem.Type == "MusicArtist") {
|
||||
cssClass += " remoteDiscImage";
|
||||
}
|
||||
else {
|
||||
|
@ -300,7 +300,7 @@
|
|||
|
||||
updateTabs(page, item);
|
||||
|
||||
if (item.Type == "Person" || item.Type == "Studio" || item.Type == "MusicGenre" || item.Type == "Genre" || item.Type == "Artist" || item.Type == "GameGenre") {
|
||||
if (item.Type == "Person" || item.Type == "Studio" || item.Type == "MusicGenre" || item.Type == "Genre" || item.Type == "MusicArtist" || item.Type == "GameGenre") {
|
||||
$('#btnEditPeople', page).hide();
|
||||
} else {
|
||||
$('#btnEditPeople', page).show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue