filter_controller = client.filter
FilterController
Gets query filters.
def get_query_filters(self,
user_id=None,
parent_id=None,
include_item_types=None,
is_airing=None,
is_movie=None,
is_sports=None,
is_kids=None,
is_news=None,
is_series=None,
recursive=None)
Parameter |
Type |
Tags |
Description |
user_id |
uuid|string |
Query, Optional |
Optional. User id. |
parent_id |
uuid|string |
Query, Optional |
Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. |
include_item_types |
List of BaseItemKindEnum |
Query, Optional |
Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. |
is_airing |
bool |
Query, Optional |
Optional. Is item airing. |
is_movie |
bool |
Query, Optional |
Optional. Is item movie. |
is_sports |
bool |
Query, Optional |
Optional. Is item sports. |
is_kids |
bool |
Query, Optional |
Optional. Is item kids. |
is_news |
bool |
Query, Optional |
Optional. Is item news. |
is_series |
bool |
Query, Optional |
Optional. Is item series. |
recursive |
bool |
Query, Optional |
Optional. Search recursive. |
QueryFilters
result = filter_controller.get_query_filters()
HTTP Status Code |
Error Description |
Exception Class |
401 |
Unauthorized |
APIException |
403 |
Forbidden |
APIException |
Gets legacy query filters.
def get_query_filters_legacy(self,
user_id=None,
parent_id=None,
include_item_types=None,
media_types=None)
Parameter |
Type |
Tags |
Description |
user_id |
uuid|string |
Query, Optional |
Optional. User id. |
parent_id |
uuid|string |
Query, Optional |
Optional. Parent id. |
include_item_types |
List of BaseItemKindEnum |
Query, Optional |
Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. |
media_types |
List of string |
Query, Optional |
Optional. Filter by MediaType. Allows multiple, comma delimited. |
QueryFiltersLegacy
result = filter_controller.get_query_filters_legacy()
HTTP Status Code |
Error Description |
Exception Class |
401 |
Unauthorized |
APIException |
403 |
Forbidden |
APIException |