feat(drm): bridge a FairPlay-only HLS track only for a service with get_fairplay_bridge_license

This commit is contained in:
imSp4rky
2026-12-01 21:07:26 -07:00
parent e36236d5cc
commit 2097d31a0a
38 changed files with 607 additions and 77 deletions
+1
View File
@@ -197,6 +197,7 @@ def download(
license_widevine=licence or (lambda drm, track_kid=None: pytest.fail("a licence was requested")),
cdm=cdm,
max_workers=2,
fairplay_bridge=True,
)
HLS.download_track(track, ctx)
return ctx.save_path.read_bytes() if ctx.save_path.exists() else b""