1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

m3u8: dont set encrypted stream with no URI

This commit is contained in:
Johan Andersson 2023-06-01 20:37:07 +02:00
parent 6d2a02c756
commit 9387fe6c2c

View File

@ -92,6 +92,8 @@ class M3U8:
elif tag == "EXT-X-KEY":
self.encrypted = True
info = _get_tuple_attribute(attr)
if "URI" not in info:
self.encrypted = False
# 4.3.2.5. EXT-X-MAP
elif tag == "EXT-X-MAP":