mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-10 16:39:01 +00:00
Fix
This commit is contained in:
@@ -286,7 +286,7 @@ class EXAMPLE(Service):
|
|||||||
"""Return the Widevine service certificate from config, if available."""
|
"""Return the Widevine service certificate from config, if available."""
|
||||||
return self.config.get("certificate")
|
return self.config.get("certificate")
|
||||||
|
|
||||||
def get_playready_license(self, *, challenge: bytes, title: Title_T, track: AnyTrack) -> Optional[bytes]:
|
def get_playready_license(self, *, challenge: bytes, title: Title_T, track: AnyTrack) -> Optional[Union[bytes, str]]:
|
||||||
"""Retrieve a PlayReady license for a given track."""
|
"""Retrieve a PlayReady license for a given track."""
|
||||||
|
|
||||||
license_url = self.config["endpoints"].get("playready_license")
|
license_url = self.config["endpoints"].get("playready_license")
|
||||||
|
|||||||
Reference in New Issue
Block a user