From 91c398235dcf969b718b496b3e0678601eb6b2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Antunes?= Date: Mon, 5 Aug 2024 17:32:28 -0300 Subject: [PATCH] Ignore VIDEO-RANGE quotes --- m3u8/parser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/m3u8/parser.py b/m3u8/parser.py index 015adfdd..3f17d8a4 100644 --- a/m3u8/parser.py +++ b/m3u8/parser.py @@ -355,7 +355,6 @@ def _parse_stream_inf(line, data, state, **kwargs): attribute_parser["bandwidth"] = lambda x: int(float(x)) attribute_parser["average_bandwidth"] = int attribute_parser["frame_rate"] = float - attribute_parser["video_range"] = str attribute_parser["hdcp_level"] = str state["stream_info"] = _parse_attribute_list( protocol.ext_x_stream_inf, line, attribute_parser @@ -369,7 +368,6 @@ def _parse_i_frame_stream_inf(line, data, **kwargs): attribute_parser["program_id"] = int attribute_parser["bandwidth"] = int attribute_parser["average_bandwidth"] = int - attribute_parser["video_range"] = str attribute_parser["hdcp_level"] = str iframe_stream_info = _parse_attribute_list( protocol.ext_x_i_frame_stream_inf, line, attribute_parser