PSSH: Initialize System IDs via UUIDs hex arg
This is just to lower the overall character count for the same end result.
This commit is contained in:
parent
e90371922c
commit
24297d577e
|
@ -19,8 +19,8 @@ class PSSH:
|
||||||
"""PSSH-related utilities. Somewhat Widevine-biased."""
|
"""PSSH-related utilities. Somewhat Widevine-biased."""
|
||||||
|
|
||||||
class SystemId:
|
class SystemId:
|
||||||
Widevine = UUID(bytes=b"\xed\xef\x8b\xa9\x79\xd6\x4a\xce\xa3\xc8\x27\xdc\xd5\x1d\x21\xed")
|
Widevine = UUID(hex="edef8ba979d64acea3c827dcd51d21ed")
|
||||||
PlayReady = UUID(bytes=b"\x9a\x04\xf0\x79\x98\x40\x42\x86\xab\x92\xe6\x5b\xe0\x88\x5f\x95")
|
PlayReady = UUID(hex="9a04f07998404286ab92e65be0885f95")
|
||||||
|
|
||||||
def __init__(self, data: Union[Container, str, bytes], strict: bool = False):
|
def __init__(self, data: Union[Container, str, bytes], strict: bool = False):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue