forked from FairTrade/unshackle-services
Fixed SHUD
This commit is contained in:
parent
d10c7ef3e8
commit
9140d26d31
@ -716,26 +716,3 @@ class SHUD(Service):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return response.content
|
return response.content
|
||||||
|
|
||||||
def get_playready_license(self, *, challenge: bytes, title: Title_T, track: AnyTrack) -> Optional[Union[bytes, str]]:
|
|
||||||
# """Request PlayReady license (if supported)"""
|
|
||||||
# license_url = self.config["endpoints"].get("playready_license")
|
|
||||||
#
|
|
||||||
# if not license_url:
|
|
||||||
# self.log.warning("PlayReady license endpoint not configured")
|
|
||||||
# return None
|
|
||||||
#
|
|
||||||
# headers = {
|
|
||||||
# "User-Agent": self.config["client"][self.device]["user_agent"],
|
|
||||||
# "Content-Type": "application/octet-stream",
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
# if hasattr(self, "auth_token"):
|
|
||||||
# headers["Authorization"] = f"Bearer {self.auth_token}"
|
|
||||||
#
|
|
||||||
# response = self.session.post(
|
|
||||||
# url=license_url,
|
|
||||||
# data=challenge,
|
|
||||||
# headers=headers,
|
|
||||||
# )
|
|
||||||
# response.raise_for_status()
|
|
||||||
# return response.content
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user