album detail page
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
enableCustomHeader(page, "TV Shows");
|
||||
$('#standardLogo', page).hide();
|
||||
}
|
||||
else if (item.Type == "Audio") {
|
||||
else if (item.Type == "Audio" || item.Type == "MusicAlbum") {
|
||||
enableCustomHeader(page, "Music");
|
||||
$('#standardLogo', page).hide();
|
||||
}
|
||||
@@ -85,6 +85,12 @@
|
||||
$('#standardLogo', page).show();
|
||||
}
|
||||
|
||||
if (item.Type == "MusicAlbum") {
|
||||
$('#albumTabs', page).show();
|
||||
} else {
|
||||
$('#albumTabs', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Audio") {
|
||||
$('#songTabs', page).show();
|
||||
} else {
|
||||
@@ -216,6 +222,9 @@
|
||||
else if (item.Type == "BoxSet") {
|
||||
$('#childrenTitle', page).html('Movies (' + item.ChildCount + ')');
|
||||
}
|
||||
else if (item.Type == "MusicAlbum") {
|
||||
$('#childrenTitle', page).html('Songs (' + item.ChildCount + ')');
|
||||
}
|
||||
else {
|
||||
$('#childrenTitle', page).html('Items (' + item.ChildCount + ')');
|
||||
}
|
||||
|
||||
@@ -167,6 +167,9 @@
|
||||
if (item.Type == "BoxSet") {
|
||||
return "itemdetails.html?id=" + item.Id;
|
||||
}
|
||||
if (item.Type == "MusicAlbum") {
|
||||
return "itemdetails.html?id=" + item.Id;
|
||||
}
|
||||
if (item.Type == "Genre") {
|
||||
return "itembynamedetails.html?genre=" + item.Name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user