mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Another temporary fix for media_part_info
This commit is contained in:
parent
1b5a7d78d4
commit
ae5777e612
1 changed files with 8 additions and 7 deletions
|
@ -332,6 +332,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, *
|
|||
media_part_info = media_info['parts'][0]
|
||||
|
||||
stream_video = stream_audio = stream_subtitle = False
|
||||
if 'streams' in media_part_info:
|
||||
for stream in media_part_info['streams']:
|
||||
if not stream_video and stream['type'] == '1':
|
||||
media_part_info.update(stream)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue