feat(export): write mediaexport files and read legacy exports through the package

--export writes the mediaexport format with DRM, content keys and manifests at title level, and unshackle's own track dicts under x-unshackle. unshackle import reads mediaexport, unidl v1 and unshackle v2 through the shared reader, applies the export's request headers to the import session, and rebuilds DRM from the title-level pool. mediaexport is a git dependency on unshackle-dl/mediaexport.
This commit is contained in:
imSp4rky
2026-09-20 00:07:04 -06:00
parent 70c3a05552
commit 746385101b
8 changed files with 297 additions and 110 deletions
+2
View File
@@ -70,6 +70,7 @@ dependencies = [
"mutagen>=1.47.0,<2",
"defusedxml>=0.7.1",
"rich-click>=1.9.8",
"mediaexport",
]
[project.urls]
@@ -172,3 +173,4 @@ skips = [
[tool.uv.sources]
unshackle = { workspace = true }
mediaexport = { git = "https://github.com/unshackle-dl/mediaexport", branch = "main" }