Add/Update TV Shows for Incremental TV Sync

This commit is contained in:
shaun 2015-04-16 10:44:43 +10:00
parent c72027f6a2
commit cde774fc9e
3 changed files with 122 additions and 98 deletions

View file

@ -107,7 +107,7 @@ class ReadEmbyDB():
downloadUtils = DownloadUtils()
url = "%s/mediabrowser/Users/%s/Items/%s?format=json" % (server, userid, id)
url = "%s/mediabrowser/Users/%s/Items/%s?format=json&Fields=Path,Genres,SortName,Studios,Writer,ProductionYear,Taglines,CommunityRating,OfficialRating,CumulativeRunTimeTicks,Metascore,AirTime,DateCreated,MediaStreams,People,Overview" % (server, userid, id)
jsonData = downloadUtils.downloadUrl(url, suppress=False, popup=1 )
if jsonData != None and jsonData != "":
result = json.loads(jsonData)