mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 07:22:37 -07:00
Make sure user has Plex Pass if checking for synced stream
This commit is contained in:
parent
a5807f21b4
commit
24ac34d5e2
1 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue