mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Add Dolby Vision info to media info
This commit is contained in:
parent
9fe58a6d86
commit
de3121cba9
2 changed files with 21 additions and 0 deletions
|
@ -1516,6 +1516,13 @@ class PmsConnect(object):
|
||||||
'video_color_space': helpers.get_xml_attr(stream, 'colorSpace'),
|
'video_color_space': helpers.get_xml_attr(stream, 'colorSpace'),
|
||||||
'video_color_trc': helpers.get_xml_attr(stream, 'colorTrc'),
|
'video_color_trc': helpers.get_xml_attr(stream, 'colorTrc'),
|
||||||
'video_dynamic_range': self.get_dynamic_range(stream),
|
'video_dynamic_range': self.get_dynamic_range(stream),
|
||||||
|
'video_dovi_bl_present': int(helpers.get_xml_attr(stream, 'DOVIBLPresent') == '1'),
|
||||||
|
'video_dovi_el_present': int(helpers.get_xml_attr(stream, 'DOVIELPresent') == '1'),
|
||||||
|
'video_dovi_level': helpers.cast_to_int(helpers.get_xml_attr(stream, 'DOVILevel')),
|
||||||
|
'video_dovi_present': int(helpers.get_xml_attr(stream, 'DOVIPresent') == '1'),
|
||||||
|
'video_dovi_profile': helpers.cast_to_int(helpers.get_xml_attr(stream, 'DOVIProfile')),
|
||||||
|
'video_dovi_rpu_present': int(helpers.get_xml_attr(stream, 'DOVIRPUPresent') == '1'),
|
||||||
|
'video_dovi_version': helpers.cast_to_float(helpers.get_xml_attr(stream, 'DOVIVersion')),
|
||||||
'video_frame_rate': helpers.get_xml_attr(stream, 'frameRate'),
|
'video_frame_rate': helpers.get_xml_attr(stream, 'frameRate'),
|
||||||
'video_ref_frames': helpers.get_xml_attr(stream, 'refFrames'),
|
'video_ref_frames': helpers.get_xml_attr(stream, 'refFrames'),
|
||||||
'video_height': helpers.get_xml_attr(stream, 'height'),
|
'video_height': helpers.get_xml_attr(stream, 'height'),
|
||||||
|
@ -1949,6 +1956,13 @@ class PmsConnect(object):
|
||||||
'stream_video_color_space': helpers.get_xml_attr(video_stream_info, 'colorSpace'),
|
'stream_video_color_space': helpers.get_xml_attr(video_stream_info, 'colorSpace'),
|
||||||
'stream_video_color_trc': helpers.get_xml_attr(video_stream_info, 'colorTrc'),
|
'stream_video_color_trc': helpers.get_xml_attr(video_stream_info, 'colorTrc'),
|
||||||
'stream_video_dynamic_range': self.get_dynamic_range(video_stream_info),
|
'stream_video_dynamic_range': self.get_dynamic_range(video_stream_info),
|
||||||
|
'stream_video_dovi_bl_present': int(helpers.get_xml_attr(video_stream_info, 'DOVIBLPresent') == '1'),
|
||||||
|
'stream_video_dovi_el_present': int(helpers.get_xml_attr(video_stream_info, 'DOVIELPresent') == '1'),
|
||||||
|
'stream_video_dovi_level': helpers.cast_to_int(helpers.get_xml_attr(video_stream_info, 'DOVILevel')),
|
||||||
|
'stream_video_dovi_present': int(helpers.get_xml_attr(video_stream_info, 'DOVIPresent') == '1'),
|
||||||
|
'stream_video_dovi_profile': helpers.cast_to_int(helpers.get_xml_attr(video_stream_info, 'DOVIProfile')),
|
||||||
|
'stream_video_dovi_rpu_present': int(helpers.get_xml_attr(video_stream_info, 'DOVIRPUPresent') == '1'),
|
||||||
|
'stream_video_dovi_version': helpers.cast_to_float(helpers.get_xml_attr(video_stream_info, 'DOVIVersion')),
|
||||||
'stream_video_height': helpers.get_xml_attr(video_stream_info, 'height'),
|
'stream_video_height': helpers.get_xml_attr(video_stream_info, 'height'),
|
||||||
'stream_video_width': helpers.get_xml_attr(video_stream_info, 'width'),
|
'stream_video_width': helpers.get_xml_attr(video_stream_info, 'width'),
|
||||||
'stream_video_ref_frames': helpers.get_xml_attr(video_stream_info, 'refFrames'),
|
'stream_video_ref_frames': helpers.get_xml_attr(video_stream_info, 'refFrames'),
|
||||||
|
|
|
@ -5464,6 +5464,13 @@ class WebInterface(object):
|
||||||
"video_color_space": "bt709",
|
"video_color_space": "bt709",
|
||||||
"video_color_trc": "",
|
"video_color_trc": "",
|
||||||
"video_dynamic_range": "SDR",
|
"video_dynamic_range": "SDR",
|
||||||
|
"video_dovi_bl_present": 0,
|
||||||
|
"video_dovi_el_present": 0,
|
||||||
|
"video_dovi_level": 0,
|
||||||
|
"video_dovi_present": 0,
|
||||||
|
"video_dovi_profile": 0,
|
||||||
|
"video_dovi_rpu_present": 0,
|
||||||
|
"video_dovi_version": 0,
|
||||||
"video_frame_rate": "23.976",
|
"video_frame_rate": "23.976",
|
||||||
"video_height": "1078",
|
"video_height": "1078",
|
||||||
"video_language": "",
|
"video_language": "",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue