Reconnect Plex Cloud without keeping the server awake

This commit is contained in:
JonnyWong16 2018-02-13 10:49:11 -08:00
parent df016243dd
commit e1dca1509a
6 changed files with 77 additions and 28 deletions

View file

@ -61,7 +61,7 @@ class PmsConnect(object):
self.url = plexpy.CONFIG.PMS_URL
elif not self.url:
self.url = 'http://{hostname}:{port}'.format(hostname=plexpy.CONFIG.PMS_IP,
port=plexpy.CONFIG.PMS_PORT)
port=plexpy.CONFIG.PMS_PORT)
self.timeout = plexpy.CONFIG.PMS_TIMEOUT
if not self.token: