From 33f97cd3b3850170922af54125e99219506afa32 Mon Sep 17 00:00:00 2001 From: dank Date: Sat, 31 Oct 2026 00:55:32 -0700 Subject: [PATCH] docs(media): the TV library arm gets its own journal, and its plan lives on the array Two relayouts writing one journal cannot be rolled back apart: the mover (Movies -> TVShows) and the library re-filer both pointed at media-relayout-tv.jsonl. The re-filer now writes media-relayout-shows.jsonl, and its plan/exceptions move off /tmp, which a reboot eats and which is not a record. --- serverAppConfigs-docs/Dankserver/Media Relayout.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/serverAppConfigs-docs/Dankserver/Media Relayout.md b/serverAppConfigs-docs/Dankserver/Media Relayout.md index 22a42b4..8a441aa 100644 --- a/serverAppConfigs-docs/Dankserver/Media Relayout.md +++ b/serverAppConfigs-docs/Dankserver/Media Relayout.md @@ -204,12 +204,12 @@ python3 scripts/media-census.py probe --root /mnt/entropy/TVShows \ # 3. The plan. --tmdb needs TMDB_API_KEY; without it a series no provider dated # is simply named without a year, which Jellyfin accepts. python3 scripts/media-shows.py --root /mnt/entropy/TVShows --enum /tmp/tv_enum.tsv \ - --titles /tmp/tv_titles.tsv --probed /tmp/tv_probed.tsv \ - --out /tmp/tv_plan.tsv --exceptions /tmp/tv_exceptions.txt -# 4. Read the exceptions file FIRST — it is the review, not a log. Then the same -# executor, journal and rollback as the movie relayout above. -scripts/media-apply.py apply --plan /tmp/tv_plan.tsv --root /mnt/entropy \ - --journal /mnt/entropy/media-relayout-tv.jsonl --apply + --titles /tmp/tv_titles.tsv --probed /tmp/tv_probed.tsv --out /mnt/entropy/media-relayout-shows-plan.tsv \ + --exceptions /mnt/entropy/media-relayout-shows-exceptions.txt +# 4. Read the exceptions file FIRST — it is the review, not a log. Same executor +# as above, but on this arm's OWN journal: a shared journal cannot be unwound. +scripts/media-apply.py apply --plan /mnt/entropy/media-relayout-shows-plan.tsv \ + --root /mnt/entropy --journal /mnt/entropy/media-relayout-shows.jsonl --apply ``` Evidence, strongest first — the order the planner believes things: