mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix sync ID
This commit is contained in:
parent
e60241ca73
commit
a20747044c
1 changed files with 1 additions and 2 deletions
|
@ -1434,6 +1434,7 @@ class PmsConnect(object):
|
|||
transcode_decision = 'direct play'
|
||||
|
||||
# Determine if a synced version is being played
|
||||
sync_id = None
|
||||
if media_type not in ('photo', 'clip') and not session.getElementsByTagName('Session') \
|
||||
and helpers.get_xml_attr(session, 'ratingKey').isdigit() and transcode_decision == 'direct play':
|
||||
plex_tv = plextv.PlexTV()
|
||||
|
@ -1448,8 +1449,6 @@ class PmsConnect(object):
|
|||
synced_session_data = synced_xml_head[0].getElementsByTagName('Track')[0]
|
||||
elif synced_xml_head[0].getElementsByTagName('Video'):
|
||||
synced_session_data = synced_xml_head[0].getElementsByTagName('Video')[0]
|
||||
else:
|
||||
sync_id = None
|
||||
|
||||
# Figure out which version is being played
|
||||
if sync_id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue