Merge branch 'nightly' into v2-newsletter

This commit is contained in:
JonnyWong16 2018-03-24 23:35:21 -07:00
commit d3f6812178
8 changed files with 40 additions and 37 deletions

View file

@ -1512,7 +1512,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')