Fix stream width and height info
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user