mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix stream width and height info
This commit is contained in:
parent
a5771dccf5
commit
48152c9ba3
2 changed files with 4 additions and 4 deletions
|
@ -81,8 +81,8 @@ class ActivityProcessor(object):
|
||||||
'transcode_video_codec': session.get('transcode_video_codec', ''),
|
'transcode_video_codec': session.get('transcode_video_codec', ''),
|
||||||
'transcode_audio_codec': session.get('transcode_audio_codec', ''),
|
'transcode_audio_codec': session.get('transcode_audio_codec', ''),
|
||||||
'transcode_audio_channels': session.get('transcode_audio_channels', ''),
|
'transcode_audio_channels': session.get('transcode_audio_channels', ''),
|
||||||
'transcode_width': session.get('transcode_width', ''),
|
'transcode_width': session.get('stream_video_width', ''),
|
||||||
'transcode_height': session.get('transcode_height', ''),
|
'transcode_height': session.get('stream_video_height', ''),
|
||||||
'stopped': None
|
'stopped': None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1323,8 +1323,8 @@ class PmsConnect(object):
|
||||||
'transcode_audio_channels': helpers.get_xml_attr(transcode_info, 'audioChannels'),
|
'transcode_audio_channels': helpers.get_xml_attr(transcode_info, 'audioChannels'),
|
||||||
'transcode_audio_codec': helpers.get_xml_attr(transcode_info, 'audioCodec'),
|
'transcode_audio_codec': helpers.get_xml_attr(transcode_info, 'audioCodec'),
|
||||||
'transcode_video_codec': helpers.get_xml_attr(transcode_info, 'videoCodec'),
|
'transcode_video_codec': helpers.get_xml_attr(transcode_info, 'videoCodec'),
|
||||||
'transcode_width': helpers.get_xml_attr(transcode_info, 'width'),
|
'transcode_width': helpers.get_xml_attr(transcode_info, 'width'), # Blank but keep for backwards compatibility
|
||||||
'transcode_height': helpers.get_xml_attr(transcode_info, 'height'),
|
'transcode_height': helpers.get_xml_attr(transcode_info, 'height'), # Blank but keep backwards compatibility
|
||||||
'transcode_container': helpers.get_xml_attr(transcode_info, 'container'),
|
'transcode_container': helpers.get_xml_attr(transcode_info, 'container'),
|
||||||
'transcode_protocol': helpers.get_xml_attr(transcode_info, 'protocol'),
|
'transcode_protocol': helpers.get_xml_attr(transcode_info, 'protocol'),
|
||||||
'transcode_hardware': transcode_hardware,
|
'transcode_hardware': transcode_hardware,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue