mirror of
https://git.gay/ready-dl/pyplayready.git
synced 2025-10-27 08:44:51 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e707a6d12 |
@ -16,4 +16,4 @@ from pyplayready.misc.revocation_list import *
|
|||||||
from pyplayready.misc.storage import *
|
from pyplayready.misc.storage import *
|
||||||
|
|
||||||
|
|
||||||
__version__ = "0.8.0"
|
__version__ = "0.8.1"
|
||||||
|
|||||||
@ -159,8 +159,13 @@ class Cdm:
|
|||||||
else:
|
else:
|
||||||
new_rev_info = licence.rev_info
|
new_rev_info = licence.rev_info
|
||||||
|
|
||||||
Storage.write_file(RevocationList.CurrentRevListStorageName, new_rev_info)
|
new_rev_info_xml = ET.tostring(
|
||||||
Storage.write_file(RevocationList.loads(new_rev_info).get_storage_file_name(), new_rev_info)
|
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:
|
for xmr_license in licence.licenses:
|
||||||
session.keys.append(xmr_license.get_content_key(session.encryption_key))
|
session.keys.append(xmr_license.get_content_key(session.encryption_key))
|
||||||
|
|||||||
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pyplayready"
|
name = "pyplayready"
|
||||||
version = "0.8.0"
|
version = "0.8.1"
|
||||||
description = "pyplayready CDM (Content Decryption Module) implementation in Python."
|
description = "pyplayready CDM (Content Decryption Module) implementation in Python."
|
||||||
license = "CC BY-NC-ND 4.0"
|
license = "CC BY-NC-ND 4.0"
|
||||||
authors = ["DevLARLEY, Erevoc", "DevataDev"]
|
authors = ["DevLARLEY, Erevoc", "DevataDev"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user