mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
fix(remote): stop at the licence step when a licence fails, falling back only to the service's cdm entry
This commit is contained in:
@@ -108,8 +108,9 @@ class ServerKeySource(Protocol):
|
||||
"""The content keys the server licenses for ``drm`` of ``track``, or None when it hands ``track`` to this machine's CDM.
|
||||
|
||||
Call it only for a track ``licenses_locally`` does not name; after None, it names the track. ``kid`` is
|
||||
the KID the answer must hold. A failed request returns no keys. A refusal this machine cannot take over
|
||||
raises ClickException.
|
||||
the KID the answer must hold. A failed request or an answer without that content key hands the track to
|
||||
this machine only when the service's own ``cdm`` entry named its device. Otherwise it, a track with no
|
||||
header and a refusal this machine cannot take over raise a DRM_ERROR ClickException.
|
||||
"""
|
||||
|
||||
def license_file(self, track: AnyTrack) -> str:
|
||||
|
||||
Reference in New Issue
Block a user