refactor(drm): hand the server key batch to one installer as a KeyBatch value

This commit is contained in:
imSp4rky
2026-12-02 20:05:08 -07:00
parent fef6898823
commit 46a3bc0ad2
20 changed files with 379 additions and 265 deletions
+5
View File
@@ -122,6 +122,11 @@ def resolver(
return ContentKeyResolver(vaults_of() if vaults is None else vaults, cdms, stand_in_service(), tag, **flags)
def install_batch(source: Any, title: Any) -> None:
"""Put the key batch of ``source`` for ``title`` on its tracks, as ``take_server_keys`` does first."""
resolver().install_keys(source.batch_keys(title), title)
def key_table() -> Table:
"""A download table that holds the selected tracks row, as dl builds it."""
table = Table.grid()