feat(export): record each track's KIDs

An import reads them first, so a track gets its own keys without a probe.
This commit is contained in:
imSp4rky
2026-09-23 14:35:58 -06:00
parent 84bb07f589
commit 06866eb12e
5 changed files with 135 additions and 32 deletions
+3 -2
View File
@@ -779,8 +779,9 @@ unshackle dl --skip-dl EXAMPLE 81234567
```
`--export` writes a `mediaexport` JSON file into the configured exports directory. It holds
the manifest, the DRM init data, the content keys and the title metadata for each title.
`unshackle import` reads it to reconstruct a download later. The importer also reads the
the manifest, the DRM init data, the content keys, the KIDs of each track and the title
metadata for each title. `unshackle import` reads it to reconstruct a download later, and gives
each track only the content keys for its KIDs. The importer also reads the
older unshackle `version: 2` files and unidl's own export files.
```shell title="Export track info and keys"