Ignore empty KID values in v4.0.0.0 PlayReadyHeaders

This commit is contained in:
rlaphoenix 2023-11-08 19:35:47 +00:00
parent 2fb3b21e4a
commit 65d8135e2a
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ class PSSH:
key_ids = [ key_ids = [
x.text x.text
for x in prr_header.findall("./wrm:DATA/wrm:KID", wrm_ns) for x in prr_header.findall("./wrm:DATA/wrm:KID", wrm_ns)
if x.text
] ]
elif prr_header_version == "4.1.0.0": elif prr_header_version == "4.1.0.0":
key_ids = [ key_ids = [