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

added a new encoding settings page under advanced

This commit is contained in:
Luke Pulverenti 2014-01-07 13:39:35 -05:00
parent 231ed3c315
commit 2704b52493
16 changed files with 267 additions and 136 deletions

View file

@ -853,7 +853,7 @@
background = defaultBackground;
}
else if (item.Type == "Recording" || item.Type == "Program") {
else if (item.Type == "Recording" || item.Type == "Program" || item.Type == "Channel") {
if (item.Name && options.showTitle) {
imgUrl = 'css/images/items/list/collection.png';
@ -1098,6 +1098,9 @@
var name = item.EpisodeTitle || item.Name;
if (item.Type == "Channel") {
return item.Number + ' ' + name;
}
if (displayAsSpecial && item.Type == "Episode" && item.ParentIndexNumber == 0) {
name = "Special - " + name;
@ -1155,6 +1158,9 @@
getPlayedIndicatorHtml: function (item) {
if (item.Type == "Channel") {
return '';
}
if (item.Type == "Series" || item.Type == "Season" || item.Type == "BoxSet" || item.MediaType == "Video") {
if (item.RecursiveUnplayedItemCount) {
return '<div class="unplayedIndicator">' + item.RecursiveUnplayedItemCount + '</div>';