Fix TypeError for Plex Companion

This commit is contained in:
tomkat83 2016-03-14 09:54:15 +01:00
parent 94e3da09f3
commit 872f17851f

View file

@ -155,7 +155,7 @@ class SubscriptionManager:
serv = getServerByHost(self.server)
url = serv.get('protocol', 'http') + '://' \
+ serv.get('server', 'localhost') + ':' \
+ serv.get('port', 32400) + "/:/timeline"
+ serv.get('port', '32400') + "/:/timeline"
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'))
printDebug("params: %s" % params)