diff --git a/pywidevine/pssh.py b/pywidevine/pssh.py index e4a4a2e..53b3e79 100644 --- a/pywidevine/pssh.py +++ b/pywidevine/pssh.py @@ -99,6 +99,9 @@ class PSSH: self.__key_ids = box.key_IDs self.init_data = box.init_data + def __repr__(self) -> str: + return f"PSSH<{self.system_id}>(v{self.version}; {self.flags}, {self.key_ids}, {self.init_data})" + @classmethod def new( cls,