mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix synced content showing incorrect stream info
This commit is contained in:
parent
4b744a5acd
commit
b11437b86b
3 changed files with 10 additions and 10 deletions
|
@ -1646,10 +1646,10 @@ class PmsConnect(object):
|
|||
if helpers.get_xml_attr(stream, 'streamType') == '1':
|
||||
video_stream_info = stream
|
||||
|
||||
elif helpers.get_xml_attr(stream, 'streamType') == '2':
|
||||
elif helpers.get_xml_attr(stream, 'streamType') == '2' and helpers.get_xml_attr(stream, 'selected') == '1':
|
||||
audio_stream_info = stream
|
||||
|
||||
elif helpers.get_xml_attr(stream, 'streamType') == '3':
|
||||
elif helpers.get_xml_attr(stream, 'streamType') == '3' and helpers.get_xml_attr(stream, 'selected') == '1':
|
||||
subtitle_stream_info = stream
|
||||
|
||||
video_id = audio_id = subtitle_id = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue