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.
This commit is contained in:
dank committed 2026-10-31 00:55:32 -07:00
1 parent 254fb41fd0
commit 33f97cd3b3
1 file changed
+6 -6
@@ -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 # 3. The plan. --tmdb needs TMDB_API_KEY; without it a series no provider dated
# is simply named without a year, which Jellyfin accepts. # is simply named without a year, which Jellyfin accepts.
python3 scripts/media-shows.py --root /mnt/entropy/TVShows --enum /tmp/tv_enum.tsv \ python3 scripts/media-shows.py --root /mnt/entropy/TVShows --enum /tmp/tv_enum.tsv \
--titles /tmp/tv_titles.tsv --probed /tmp/tv_probed.tsv \ --titles /tmp/tv_titles.tsv --probed /tmp/tv_probed.tsv --out /mnt/entropy/media-relayout-shows-plan.tsv \
--out /tmp/tv_plan.tsv --exceptions /tmp/tv_exceptions.txt --exceptions /mnt/entropy/media-relayout-shows-exceptions.txt
# 4. Read the exceptions file FIRST — it is the review, not a log. Then the same # 4. Read the exceptions file FIRST — it is the review, not a log. Same executor
# executor, journal and rollback as the movie relayout above. # as above, but on this arm's OWN journal: a shared journal cannot be unwound.
scripts/media-apply.py apply --plan /tmp/tv_plan.tsv --root /mnt/entropy \ scripts/media-apply.py apply --plan /mnt/entropy/media-relayout-shows-plan.tsv \
--journal /mnt/entropy/media-relayout-tv.jsonl --apply --root /mnt/entropy --journal /mnt/entropy/media-relayout-shows.jsonl --apply
``` ```
Evidence, strongest first — the order the planner believes things: Evidence, strongest first — the order the planner believes things: