mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Improve terminate stream error messages
This commit is contained in:
parent
00405f0b18
commit
76b9b3e474
3 changed files with 33 additions and 11 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue