Improve terminate stream error messages

This commit is contained in:
JonnyWong16 2019-03-18 11:57:08 -07:00
commit 76b9b3e474
3 changed files with 33 additions and 11 deletions

View file

@ -842,9 +842,13 @@ class PlexTV(object):
return False
if subscription and helpers.get_xml_attr(subscription[0], 'active') == '1':
plexpy.CONFIG.__setattr__('PMS_PLEXPASS', 1)
plexpy.CONFIG.write()
return True
else:
logger.debug(u"Tautulli PlexTV :: Plex Pass subscription not found.")
plexpy.CONFIG.__setattr__('PMS_PLEXPASS', 0)
plexpy.CONFIG.write()
return False
def get_devices_list(self):