refactor(vaults): move the settle rules, vault writer, stored tally and server-vault push into the key ledger

This commit is contained in:
imSp4rky
2026-12-04 14:07:04 -07:00
parent 67dea28712
commit 8c4742c0ee
8 changed files with 313 additions and 122 deletions
@@ -23,6 +23,7 @@ from unshackle.core.dl_options import DEFAULT_DOWNLOAD_PARAMS
from unshackle.core.title_source import TitleSource
from unshackle.core.titles import Episode, Series
from unshackle.core.tracks import Audio, Subtitle, Tracks, Video
from unshackle.core.vaults import Vaults
class Selected(BaseException):
@@ -37,6 +38,8 @@ class Selected(BaseException):
class Harness(dl):
vaults = Vaults()
def __getattr__(self, name: str) -> None:
# every optional dl attribute (tmdb ids, cdm, vaults, ...) reads as unset
return None