diff --git a/dashboard-ui/movies.html b/dashboard-ui/movies.html index e5426fdae0..3a38256b0b 100644 --- a/dashboard-ui/movies.html +++ b/dashboard-ui/movies.html @@ -41,31 +41,31 @@ Sort By: - + - + - + - + - + - + - + - + - + @@ -74,10 +74,10 @@ Sort Order: - + - + @@ -88,22 +88,22 @@ Filters: - + - + - + - + - + - +
@@ -111,18 +111,41 @@ Type: - + - + - + - +
+ +
+ + Features: + + + + + + + + + + + + + + + + + +
+ diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index ce076c9c82..271792971c 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -215,7 +215,7 @@ html += ''; - html += 'Track'; + html += 'Track'; if (options.showAlbum) { html += 'Album'; @@ -241,7 +241,7 @@ if (num && item.ParentIndexNumber) { num = item.ParentIndexNumber + "." + num; } - html += '' + (num || "") + ''; + html += '' + (num || "") + ''; html += '' + (item.Name || "") + ''; diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index 9ff80f4679..3fa307b8d5 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -134,6 +134,47 @@ reloadItems(page); }); + + $('#chkSubtitle', this).on('change', function () { + + query.StartIndex = 0; + query.HasSubtitles = this.checked ? true : null; + + reloadItems(page); + }); + + $('#chkTrailer', this).on('change', function () { + + query.StartIndex = 0; + query.HasTrailer = this.checked ? true : null; + + reloadItems(page); + }); + + $('#chkSpecialFeature', this).on('change', function () { + + query.StartIndex = 0; + query.HasSpecialFeature = this.checked ? true : null; + + reloadItems(page); + }); + + $('#chkThemeSong', this).on('change', function () { + + query.StartIndex = 0; + query.HasThemeSong = this.checked ? true : null; + + reloadItems(page); + }); + + $('#chkThemeVideo', this).on('change', function () { + + query.StartIndex = 0; + query.HasThemeVideo = this.checked ? true : null; + + reloadItems(page); + }); + }).on('pagebeforeshow', "#moviesPage", function () { @@ -175,6 +216,13 @@ $('#selectView', this).val(view).selectmenu('refresh'); $('#chk3D', this).checked(query.VideoFormats == "Digital3D,Sbs3D").checkboxradio('refresh'); + + $('#chkSubtitle', this).checked(query.HasSubtitles == true).checkboxradio('refresh'); + $('#chkTrailer', this).checked(query.HasTrailer == true).checkboxradio('refresh'); + $('#chkSpecialFeature', this).checked(query.HasSpecialFeature == true).checkboxradio('refresh'); + $('#chkThemeSong', this).checked(query.HasThemeSong == true).checkboxradio('refresh'); + $('#chkThemeVideo', this).checked(query.HasThemeVideo == true).checkboxradio('refresh'); + }); })(jQuery, document); \ No newline at end of file diff --git a/dashboard-ui/scripts/songs.js b/dashboard-ui/scripts/songs.js index 5b0a4d836e..e2d22e3694 100644 --- a/dashboard-ui/scripts/songs.js +++ b/dashboard-ui/scripts/songs.js @@ -8,7 +8,7 @@ IncludeItemTypes: "Audio", Recursive: true, Fields: "ItemCounts,DateCreated,UserData,AudioInfo,ParentId", - Limit: 200, + Limit: 300, StartIndex: 0 };