Compare commits

..

1 Commits
0.8.0 ... main

Author SHA1 Message Date
larley
7e707a6d12 + Fixed RevList conversion 2025-10-05 17:00:11 +02:00
3 changed files with 9 additions and 4 deletions

View File

@ -16,4 +16,4 @@ from pyplayready.misc.revocation_list import *
from pyplayready.misc.storage import *
__version__ = "0.8.0"
__version__ = "0.8.1"

View File

@ -159,8 +159,13 @@ class Cdm:
else:
new_rev_info = licence.rev_info
Storage.write_file(RevocationList.CurrentRevListStorageName, new_rev_info)
Storage.write_file(RevocationList.loads(new_rev_info).get_storage_file_name(), new_rev_info)
new_rev_info_xml = ET.tostring(
new_rev_info,
xml_declaration=True,
encoding="utf-8"
)
Storage.write_file(RevocationList.CurrentRevListStorageName, new_rev_info_xml)
Storage.write_file(RevocationList.loads(new_rev_info).get_storage_file_name(), new_rev_info_xml)
for xmr_license in licence.licenses:
session.keys.append(xmr_license.get_content_key(session.encryption_key))

View File

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "pyplayready"
version = "0.8.0"
version = "0.8.1"
description = "pyplayready CDM (Content Decryption Module) implementation in Python."
license = "CC BY-NC-ND 4.0"
authors = ["DevLARLEY, Erevoc", "DevataDev"]