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:
|
else:
|
||||||
url = "{server}/library/metadata/" + key
|
url = "{server}/library/metadata/" + key
|
||||||
arguments = {
|
arguments = {
|
||||||
|
'checkFiles': 0,
|
||||||
'includeExtras': 1, # Trailers and Extras => Extras
|
'includeExtras': 1, # Trailers and Extras => Extras
|
||||||
# 'includeRelated': 1, # Similar movies => Video -> Related
|
'includeReviews': 1,
|
||||||
# 'includeRelatedCount': 5,
|
'includeRelated': 0, # Similar movies => Video -> Related
|
||||||
|
# 'includeRelatedCount': 0,
|
||||||
# 'includeOnDeck': 1,
|
# 'includeOnDeck': 1,
|
||||||
'includeChapters': 1,
|
# 'includeChapters': 1,
|
||||||
'includePopularLeaves': 1,
|
# 'includePopularLeaves': 1,
|
||||||
'includeConcerts': 1
|
# 'includeConcerts': 1
|
||||||
}
|
}
|
||||||
url = url + '?' + urlencode(arguments)
|
url = url + '?' + urlencode(arguments)
|
||||||
xml = downloadutils.DownloadUtils().downloadUrl(url)
|
xml = downloadutils.DownloadUtils().downloadUrl(url)
|
||||||
|
|
Loading…
Reference in a new issue