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

remove format indicators (temporarily)

This commit is contained in:
Luke Pulverenti 2014-03-13 15:08:17 -04:00
parent 2a8d8037f4
commit df515330ba
6 changed files with 8 additions and 23 deletions

View file

@ -461,13 +461,6 @@
}
}
var enableRibbons = false;
var user = Dashboard.getCurrentUser().done(function (data) {
if (data.Configuration) {
enableRibbons = data.Configuration.DisplayMovieFormatRibbons;
}
});
for (var i = 0, length = items.length; i < length; i++) {
var item = items[i];
@ -672,7 +665,7 @@
html += '<a data-itemid="' + item.Id + '" class="' + cssClass + '" href="' + LibraryBrowser.getHref(item, options.context) + '">';
// Ribbon
if (item.MediaType == "Video" && enableRibbons) {
if (item.MediaType == "Video" && item.Video3DFormat) {
// This would be much better if specified in the json payload
// Another nice thing to have in the payload would be 720 vs 1080
// Then, rather than "HD" it could display the specific HD format