updated 3d filters

This commit is contained in:
Luke Pulverenti 2013-06-27 13:04:48 -04:00
parent 3ba31e9003
commit 9a6be151e3
3 changed files with 6 additions and 6 deletions

View File

@ -1429,8 +1429,8 @@
miscInfo.push(item.DisplayMediaType); miscInfo.push(item.DisplayMediaType);
} }
if (item.VideoFormat && item.VideoFormat !== 'Standard') { if (item.Video3DFormat) {
miscInfo.push(item.VideoFormat); miscInfo.push("3D");
} }
return miscInfo.join('    '); return miscInfo.join('    ');

View File

@ -152,7 +152,7 @@
$('#chk3D', this).on('change', function () { $('#chk3D', this).on('change', function () {
query.StartIndex = 0; query.StartIndex = 0;
query.VideoFormats = this.checked ? this.getAttribute('data-filter') : null; query.Is3D = this.checked ? this.getAttribute('data-filter') : null;
reloadItems(page); reloadItems(page);
}); });
@ -258,7 +258,7 @@
$('#selectView', this).val(view).selectmenu('refresh'); $('#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'); $('#chkSubtitle', this).checked(query.HasSubtitles == true).checkboxradio('refresh');
$('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh'); $('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh');

View File

@ -152,7 +152,7 @@
$('#chk3D', this).on('change', function () { $('#chk3D', this).on('change', function () {
query.StartIndex = 0; query.StartIndex = 0;
query.VideoFormats = this.checked ? this.getAttribute('data-filter') : null; query.Is3D = this.checked ? this.getAttribute('data-filter') : null;
reloadItems(page); reloadItems(page);
}); });
@ -250,7 +250,7 @@
$('#selectView', this).val(view).selectmenu('refresh'); $('#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'); $('#chkSubtitle', this).checked(query.HasSubtitles == true).checkboxradio('refresh');
$('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh'); $('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh');