Make sure user has Plex Pass if checking for synced stream
This commit is contained in:
@@ -1475,7 +1475,8 @@ class PmsConnect(object):
|
|||||||
if media_type not in ('photo', 'clip') \
|
if media_type not in ('photo', 'clip') \
|
||||||
and not session.getElementsByTagName('Session') \
|
and not session.getElementsByTagName('Session') \
|
||||||
and not session.getElementsByTagName('TranscodeSession') \
|
and not session.getElementsByTagName('TranscodeSession') \
|
||||||
and helpers.get_xml_attr(session, 'ratingKey').isdigit():
|
and helpers.get_xml_attr(session, 'ratingKey').isdigit() \
|
||||||
|
and plexpy.CONFIG.PMS_PLEXPASS:
|
||||||
plex_tv = plextv.PlexTV()
|
plex_tv = plextv.PlexTV()
|
||||||
parent_rating_key = helpers.get_xml_attr(session, 'parentRatingKey')
|
parent_rating_key = helpers.get_xml_attr(session, 'parentRatingKey')
|
||||||
grandparent_rating_key = helpers.get_xml_attr(session, 'grandparentRatingKey')
|
grandparent_rating_key = helpers.get_xml_attr(session, 'grandparentRatingKey')
|
||||||
|
Reference in New Issue
Block a user