From ae6061f771db23ebbe6e43780332bccae399be28 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 7 Aug 2016 15:50:01 +0200 Subject: [PATCH] Try reducing strain on PMS for metadata - Taken from Plex for Android GET command --- resources/lib/PlexFunctions.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/lib/PlexFunctions.py b/resources/lib/PlexFunctions.py index 0fed8183..604cb698 100644 --- a/resources/lib/PlexFunctions.py +++ b/resources/lib/PlexFunctions.py @@ -173,13 +173,15 @@ def GetPlexMetadata(key): else: url = "{server}/library/metadata/" + key arguments = { + 'checkFiles': 0, 'includeExtras': 1, # Trailers and Extras => Extras - # 'includeRelated': 1, # Similar movies => Video -> Related - # 'includeRelatedCount': 5, + 'includeReviews': 1, + 'includeRelated': 0, # Similar movies => Video -> Related + # 'includeRelatedCount': 0, # 'includeOnDeck': 1, - 'includeChapters': 1, - 'includePopularLeaves': 1, - 'includeConcerts': 1 + # 'includeChapters': 1, + # 'includePopularLeaves': 1, + # 'includeConcerts': 1 } url = url + '?' + urlencode(arguments) xml = downloadutils.DownloadUtils().downloadUrl(url)