diff --git a/dashboard-ui/scripts/edititemimages.js b/dashboard-ui/scripts/edititemimages.js index 7ac016f483..cc8e0a8ac0 100644 --- a/dashboard-ui/scripts/edititemimages.js +++ b/dashboard-ui/scripts/edititemimages.js @@ -152,22 +152,32 @@ cssClass += currentItem.Type == "Episode" ? " remoteBackdropImage" : " remotePosterImage"; } - html += ''; + var displayUrl = image.ThumbnailUrl || image.Url; + html += ''; html += ''; html += '
'; html += image.ProviderName; html += '
'; - if (image.Width || image.Height) { + if (image.Width || image.Height || image.Language) { html += '
'; - html += image.Width + ' x ' + image.Height; - if (image.Language) { + if (image.Width || image.Height) { + html += image.Width + ' x ' + image.Height; - html += ' • ' + image.Language; + if (image.Language) { + + html += ' • ' + image.Language; + } + } else { + if (image.Language) { + + html += image.Language; + } } + html += '
'; } diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index e331832f45..ac48b3ba11 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -272,7 +272,7 @@ { name: "Photos*", value: "photos" }, { name: "Trailers", value: "trailers" }, { name: "Adult videos", value: "adultvideos" }, - { name: "General or mixed content", value: "mixed", isSelectable: false } + { name: "Mixed content", value: "mixed" } ]; },