fix(cdm): read every device's DRM system through one CDM catalogue

This commit is contained in:
imSp4rky
2026-11-25 14:50:40 -07:00
parent 0fca1c5ea3
commit 6923c5e242
15 changed files with 310 additions and 606 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ def test_the_server_cdm_stub_is_the_first_drm_system_of_the_config_entry(
) -> None:
monkeypatch.setattr("unshackle.core.config.config.cdm", {"EXAMPLE": entry})
monkeypatch.setattr(
"unshackle.core.api.handlers.detect_cdm_type",
"unshackle.core.api.handlers.device_system",
lambda name, _: "playready" if name == "pr_device" else "widevine",
)