Compare commits

..

No commits in common. "main" and "0.8.0" have entirely different histories.
main ... 0.8.0

3 changed files with 4 additions and 9 deletions

View File

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

View File

@ -159,13 +159,8 @@ class Cdm:
else:
new_rev_info = licence.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)
Storage.write_file(RevocationList.CurrentRevListStorageName, new_rev_info)
Storage.write_file(RevocationList.loads(new_rev_info).get_storage_file_name(), new_rev_info)
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.1"
version = "0.8.0"
description = "pyplayready CDM (Content Decryption Module) implementation in Python."
license = "CC BY-NC-ND 4.0"
authors = ["DevLARLEY, Erevoc", "DevataDev"]