From 9a6be151e33edd0abe001966a44392fe7060fa07 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 27 Jun 2013 13:04:48 -0400 Subject: [PATCH] updated 3d filters --- dashboard-ui/scripts/librarybrowser.js | 4 ++-- dashboard-ui/scripts/movies.js | 4 ++-- dashboard-ui/scripts/musicvideos.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 6bb88ca9b9..7ce3edbb0d 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1429,8 +1429,8 @@ miscInfo.push(item.DisplayMediaType); } - if (item.VideoFormat && item.VideoFormat !== 'Standard') { - miscInfo.push(item.VideoFormat); + if (item.Video3DFormat) { + miscInfo.push("3D"); } return miscInfo.join('    '); diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index a5062de0b5..8235be8e2f 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -152,7 +152,7 @@ $('#chk3D', this).on('change', function () { query.StartIndex = 0; - query.VideoFormats = this.checked ? this.getAttribute('data-filter') : null; + query.Is3D = this.checked ? this.getAttribute('data-filter') : null; reloadItems(page); }); @@ -258,7 +258,7 @@ $('#selectView', this).val(view).selectmenu('refresh'); - $('#chk3D', this).checked(query.VideoFormats == "Digital3D,Sbs3D").checkboxradio('refresh'); + $('#chk3D', this).checked(query.Is3D == true).checkboxradio('refresh'); $('#chkSubtitle', this).checked(query.HasSubtitles == true).checkboxradio('refresh'); $('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh'); diff --git a/dashboard-ui/scripts/musicvideos.js b/dashboard-ui/scripts/musicvideos.js index 5b2b53c199..958cc5877f 100644 --- a/dashboard-ui/scripts/musicvideos.js +++ b/dashboard-ui/scripts/musicvideos.js @@ -152,7 +152,7 @@ $('#chk3D', this).on('change', function () { query.StartIndex = 0; - query.VideoFormats = this.checked ? this.getAttribute('data-filter') : null; + query.Is3D = this.checked ? this.getAttribute('data-filter') : null; reloadItems(page); }); @@ -250,7 +250,7 @@ $('#selectView', this).val(view).selectmenu('refresh'); - $('#chk3D', this).checked(query.VideoFormats == "Digital3D,Sbs3D").checkboxradio('refresh'); + $('#chk3D', this).checked(query.Is3D == true).checkboxradio('refresh'); $('#chkSubtitle', this).checked(query.HasSubtitles == true).checkboxradio('refresh'); $('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh');