assemblrr/scripts
soulis-1256 9ac07caf12
Scope TV request-delete to requested seasons
Seerr's DELETE /api/v1/media/:id/file is title-scoped and would wipe
every remaining season. For a TV request that is only a subset, the
gateway now deletes those Sonarr episode files and unmonitors them,
then drops the request. Movies and last remaining seasons still use
the title-level cascade.

media-purge --seasons and the inotify watcher match that: a season
path never title-purges (other seasons may only be monitored). qB
cleanup requires a season token, refuses multi-season and S01-03
packs, and uses the same title-boundary rules as title-level. *arr
recycle bin is /data/media/.recycle with 7-day cleanup.

Sonarr uncertainty (missing key, failed episodefile list, empty TV
season list) returns 502 and leaves the request. The gateway mounts
config/sonarr/ as a directory so first install cannot replace
config.xml with a Docker-created directory.
2026-08-16 12:04:27 +03:00
..
arr-purge-hook.sh Harden media-purge qB matching and refresh Jellyfin on delete. 2026-08-12 14:26:27 +03:00
jellyfin-refresh.sh Fix Jellyfin empty-series after Sonarr season-pack imports 2026-08-14 11:45:10 +03:00
media-purge-watch.sh Scope TV request-delete to requested seasons 2026-08-16 12:04:27 +03:00
media-purge.sh Scope TV request-delete to requested seasons 2026-08-16 12:04:27 +03:00
seerr-gateway.py Scope TV request-delete to requested seasons 2026-08-16 12:04:27 +03:00
vpn-watchdog.sh Fix fresh-install stalls and harden default-on sidecars 2026-08-13 01:25:20 +03:00