From 12304dbe0bcf1e9143b932e3ec83117e5700501b Mon Sep 17 00:00:00 2001 From: "john.vossen" Date: Wed, 6 Nov 2024 17:26:22 -0600 Subject: [PATCH] Add X-Plex-Container-Size to watchlist call and set to maximum --- resources/lib/entrypoint.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index bff4b1763..550e73e30 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -494,7 +494,10 @@ def watchlist(section_id=None): app.init(entrypoint=True) xml = DU().downloadUrl('https://metadata.provider.plex.tv/library/sections/watchlist/all', authenticate=False, - headerOptions={'X-Plex-Token': utils.window('plex_token')}) + headerOptions={ + 'X-Plex-Token': utils.window('plex_token'), + 'X-Plex-Container-Size': '300' + }) try: xml[0].attrib except (TypeError, IndexError, AttributeError):