fix(dash): refuse an encrypted DASH track with no licensable DRM and gate FairPlay-only DASH tracks for a hook service

This commit is contained in:
imSp4rky
2026-12-01 22:05:33 -07:00
parent 992fff3626
commit c7a3febf88
6 changed files with 174 additions and 14 deletions
+6 -1
View File
@@ -77,7 +77,7 @@ To download a Widevine-protected title you need a `.wvd` device. For PlayReady y
need a `.prd` device. You can hold both, and unshackle automatically selects the
appropriate one for each track.
!!! note "HLS tracks with only a FairPlay key tag"
!!! note "Tracks with only FairPlay protection"
unshackle has no FairPlay CDM and never sends a FairPlay challenge.
For a FairPlay-only track it can send a PlayReady or Widevine challenge for the KIDs of the init
segments to the licence server of the platform, which works only when that server issues the same
@@ -87,6 +87,11 @@ appropriate one for each track.
`Left out 1 FairPlay-only track: EXAMPLE has no FairPlay bridge hook`. When only FairPlay-only tracks
match your quality or range options, unshackle skips the title, unless you use `--best-available`.
`--list` still shows every track.
The route works for HLS only, so a service that defines it still loses its FairPlay-only DASH tracks:
`Left out 1 FairPlay-only track: DASH has no FairPlay bridge`.
An encrypted DASH track with no DRM system that unshackle can license stops with
`None of the key systems are supported`, and unshackle keeps no output file.
A licence without the content key of a key ID, or with a content key that does not decrypt the
track, stops the download of that track with an error, and unshackle keeps no output file.