diff --git a/README.md b/README.md index db9b75c..f3d0486 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,7 @@ Please refrain from spam or asking for questions that infringe upon a Service's + ## License diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index e63632a..6bb534d 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -124,7 +124,8 @@ class DASH: for x in adaptation_set.findall("Accessibility") ) forced = any( - (x.get("schemeIdUri"), x.get("value")) == ("urn:mpeg:dash:role:2011", "forced-subtitle") + x.get("schemeIdUri") == "urn:mpeg:dash:role:2011" + and x.get("value") in ("forced-subtitle", "forced_subtitle") for x in adaptation_set.findall("Role") ) cc = any(