From 24ac34d5e23eb85a0d3f5bf36cdea345f04fb779 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 22 Mar 2018 19:39:46 -0700 Subject: [PATCH] Make sure user has Plex Pass if checking for synced stream --- plexpy/pmsconnect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexpy/pmsconnect.py b/plexpy/pmsconnect.py index c12f43e3..b1de933b 100644 --- a/plexpy/pmsconnect.py +++ b/plexpy/pmsconnect.py @@ -1475,7 +1475,8 @@ class PmsConnect(object): if media_type not in ('photo', 'clip') \ and not session.getElementsByTagName('Session') \ 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() parent_rating_key = helpers.get_xml_attr(session, 'parentRatingKey') grandparent_rating_key = helpers.get_xml_attr(session, 'grandparentRatingKey')