From 1759115a80fcccb8428ff775b1e21e2bddb70a20 Mon Sep 17 00:00:00 2001 From: Super Laser Date: Wed, 9 Nov 2022 20:52:31 +0100 Subject: [PATCH] Add item limit to the list of parameters for recently added movies --- resources/lib/menu_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/menu_functions.py b/resources/lib/menu_functions.py index 3b626d6..79a1c85 100644 --- a/resources/lib/menu_functions.py +++ b/resources/lib/menu_functions.py @@ -1028,6 +1028,7 @@ def display_movies_type(menu_params, view): params["SortBy"] = "DateCreated" params["SortOrder"] = "Descending" params["Filters"] = "IsNotFolder" + params["Limit"] = item_limit path = get_jellyfin_url("/Users/{userid}/Items", params) url = sys.argv[0] + "?url=" + quote(path) + "&mode=GET_CONTENT&media_type=movies&sort=none" add_menu_directory_item('{}{} ({})'.format(view_name, translate_string(30268), item_limit), url)