mirror of
https://git.gay/ready-dl/pyplayready.git
synced 2025-10-26 16:26:17 +00:00
+ Fixed RevList conversion
This commit is contained in:
parent
17c69027e0
commit
7e707a6d12
@ -16,4 +16,4 @@ from pyplayready.misc.revocation_list import *
|
||||
from pyplayready.misc.storage import *
|
||||
|
||||
|
||||
__version__ = "0.8.0"
|
||||
__version__ = "0.8.1"
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user