fix(manifests): flag DASH audio using the standard description role

This commit is contained in:
imSp4rky
2026-09-08 21:31:46 -06:00
parent ec792ee10d
commit 2971a3a7da
2 changed files with 44 additions and 1 deletions
+5 -1
View File
@@ -1111,7 +1111,11 @@ class DASH:
"""Whether the Adaptation Set is Descriptive."""
return any(
(x.get("schemeIdUri"), x.get("value"))
in (("urn:mpeg:dash:role:2011", "descriptive"), ("urn:tva:metadata:cs:AudioPurposeCS:2007", "1"))
in (
("urn:mpeg:dash:role:2011", "description"),
("urn:mpeg:dash:role:2011", "descriptive"),
("urn:tva:metadata:cs:AudioPurposeCS:2007", "1"),
)
for x in adaptation_set.findall("Accessibility")
)