Fix TypeError for Plex Companion
This commit is contained in:
parent
94e3da09f3
commit
872f17851f
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class SubscriptionManager:
|
||||||
serv = getServerByHost(self.server)
|
serv = getServerByHost(self.server)
|
||||||
url = serv.get('protocol', 'http') + '://' \
|
url = serv.get('protocol', 'http') + '://' \
|
||||||
+ serv.get('server', 'localhost') + ':' \
|
+ serv.get('server', 'localhost') + ':' \
|
||||||
+ serv.get('port', 32400) + "/:/timeline"
|
+ serv.get('port', '32400') + "/:/timeline"
|
||||||
self.download.downloadUrl(url, type="GET", parameters=params)
|
self.download.downloadUrl(url, type="GET", parameters=params)
|
||||||
# requests.getwithparams(serv.get('server', 'localhost'), serv.get('port', 32400), "/:/timeline", params, getPlexHeaders(), serv.get('protocol', 'http'))
|
# requests.getwithparams(serv.get('server', 'localhost'), serv.get('port', 32400), "/:/timeline", params, getPlexHeaders(), serv.get('protocol', 'http'))
|
||||||
printDebug("params: %s" % params)
|
printDebug("params: %s" % params)
|
||||||
|
|
Loading…
Reference in a new issue