Try reducing strain on PMS for metadata
- Taken from Plex for Android GET command
This commit is contained in:
parent
a2693b3485
commit
ae6061f771
1 changed files with 7 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue