Filter movie lookups to just movies

This commit is contained in:
Nick Bisby 2019-04-22 20:25:16 -05:00
parent 29d65928f5
commit 9f7fe40650
No known key found for this signature in database
GPG Key ID: F6E0C4E6D0B5EB36

View File

@ -213,7 +213,9 @@ sub ShowMovieOptions(library)
options_list = ItemList(library.id, {"limit": page_size, options_list = ItemList(library.id, {"limit": page_size,
"StartIndex": page_size * (page_num - 1), "StartIndex": page_size * (page_num - 1),
"SortBy": sort_field, "SortBy": sort_field,
"SortOrder": sort_order }) "SortOrder": sort_order,
"IncludeItemTypes": "Movie"
})
options.movieData = options_list options.movieData = options_list
options.observeField("itemSelected", port) options.observeField("itemSelected", port)