Commit graph

26 commits

Author SHA1 Message Date
soulis-1256
0115f9d648
Standardize quality profiles to 4K/1080p, disable recycle bin, add migration 003, and update API docs 2026-08-20 18:29:09 +03:00
soulis-1256
f2e1377468
Isolate request-delete queue drains and support WEB/BluRay quality profiles 2026-08-20 18:06:46 +03:00
soulis-1256
f5e7d18edf
Cancel qB grabs when a Seerr request is deleted.
Drain the *arr queue before title delete, trust queue and history hashes,
and match leftover torrents by title and year so an in-progress release
name is removed instead of left downloading.
2026-08-18 23:57:18 +03:00
soulis-1256
0890007d81
Stop setup when an install already exists.
Setup is first-time only: a complete tree prints the path and exits
(use upgrade, config edit, or uninstall). Incomplete leftovers from a
failed attempt are offered for cleanup. Uninstall is quieter and
remembers earlier install/media paths so stray trees still get found.
2026-08-18 23:22:08 +03:00
soulis-1256
784977aeee
Use one quality choice for Radarr, Sonarr, and Seerr.
Express asks the same question as manual. The pick is stored as
QUALITY_TIER and applied to movies and TV, including Seerr. Compose
up hides sidecar Dockerfile output behind a spinner.
2026-08-18 23:07:29 +03:00
soulis-1256
edac50f8a2
Fix specials wipe, leftover torrent dirs, and default-stack pins
Keep TV specials when a request covers only regular seasons. Encode
first-run passwords, default missing config-show fields, and strip
Windows CRLF on Python, Dockerfiles, and migrations. Pin express-stack
images. After Sonarr title delete, remove leftover torrents/ dirs even
when qB already dropped the torrent. Document that only the default
stack is supported.
2026-08-16 21:19:15 +03:00
soulis-1256
7d2d0d1770
Do not remap existing *arr titles when applying quality defaults
Add New still opens on the assemblrr profile. Library movies and
shows keep whatever quality profile they already have.
2026-08-16 16:29:43 +03:00
soulis-1256
ea26dc794e
Make PATH assemblrr a wrapper around the install CLI
Stop copying cli.sh and a lib subset to ~/.local/bin. Setup and upgrade
write a short wrapper that execs $INSTALL_DIR/cli.sh. Leftover PATH libs
are removed. update-cli now points at upgrade.
2026-08-16 16:20:22 +03:00
soulis-1256
962e322fdb
Add config apply, full auth change, and *arr quality defaults
Re-wire without replacing compose. Update the shared login on every
UI. Make assemblrr quality profiles the Radarr/Sonarr Add New default.
config edit is picker-only. Forward Seerr Host headers, chmod only the
VPN secrets just written, and ignore Python cache files.
2026-08-16 15:58:48 +03:00
soulis-1256
6a142c75d8
Fix Recyclarr image, CLI PATH, and add drive path picker
Pin Recyclarr to ghcr.io/recyclarr/recyclarr:8 (:latest is unpublished)
and write ~/.local/bin into bashrc/zshrc/fish so the early CLI still
works after a failed setup on Arch/WSL. Setup now picks install/media
paths from an fzf list of home plus mounted drives.
2026-08-16 13:49:00 +03:00
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
soulis-1256
0696a83e2d
Fix fresh-install stalls and harden default-on sidecars
qBittorrent 5.x does not bind WireGuard's tun0 unless told to, so tracker
and DHT packets left via eth0 and Gluetun dropped them (stalledDL). Bind
the session to tun0 on VPN installs. Build sidecar images on the host
instead of apk at start, move vpn-watchdog off Gluetun's netns, ignore
non-video inotify events, and stop start/upgrade from aborting or
re-prompting.
2026-08-13 01:25:20 +03:00
soulis-1256
cea83b1d9d
Document mid-setup uninstall after early CLI bootstrap
Align uninstall.md with early operator CLI install, discovery pointer,
and abort paths (PATH CLI, install-tree cli.sh, or manual cleanup).
2026-08-12 15:36:02 +03:00
soulis-1256
0858a5a629
Drop Portainer from default stack; harden upgrade and setup UX
Remove Portainer from managed compose and catalog; leave a custom.yaml
example for optional use. Upgrade/start use compose --remove-orphans and
migration 002 removes leftover Portainer containers unless custom.yaml
keeps it. Fix setup double URL list when status is unhealthy, share
OpenSubtitles y/N on express, and tone down indexer/provider prompts.
2026-08-12 15:26:21 +03:00
soulis-1256
987fd0ccac
Select Bazarr providers via fzf from the live image
Drop hardcoded subtitle-provider defaults. Wire-up lists providers
from the running Bazarr container and enables only user selections
(plus OpenSubtitles.com when credentials were saved).
2026-08-12 15:08:59 +03:00
soulis-1256
c2920808eb
Harden media-purge qB matching and refresh Jellyfin on delete.
Prefer history hashes filtered by library folder key, then exact folder-key
match only (no sequel prefix hits). Refuse ambiguous multi-matches. Ignore
partial file-delete events. Best-effort Jellyfin library refresh after purge.
2026-08-12 14:26:27 +03:00
soulis-1256
7339d1b8b4
Add seerr-gateway so delete request fully purges media.
Stock Seerr only drops the request row; intercept DELETE /api/v1/request/:id
to cascade media file delete (*arr + purge hooks) before removing the request.
2026-08-12 14:06:49 +03:00
soulis-1256
c180732db1
Add media purge cascade, seed defaults, and wire on upgrade.
Hardlink-safe cleanup: Seerr/Jellyfin/*arr deletes remove library files and
qB torrents via purge hooks and media-purge-watch. Indexers get seed ratio/time
so completed downloads can leave torrents/. Upgrade always re-wires services;
drop user-facing config sync. Live e2e covers Radarr, Seerr, and Jellyfin APIs.
2026-08-12 13:19:49 +03:00
soulis-1256
22562555c9
Replace services.txt cheat-sheet with assemblrr status dashboard.
Drop writing ~/assemblrr_services.txt; status now shows live state and
localhost URLs for each service, with --docker for raw compose ps.
Health parsing is fixed under set -e; uninstall cleans legacy txt.
2026-08-11 22:55:23 +03:00
soulis-1256
847e3c51c1
Add Bazarr as a first-class auto-wired subtitle service.
Ship Bazarr in the core compose stack, wire Sonarr/Radarr/Jellyfin on
config sync, apply TRaSH-style scoring, free multi-provider defaults, and
optional OpenSubtitles.com credentials from setup secrets.
2026-08-11 22:31:40 +03:00
soulis-1256
6c7c853179
docs: simplify README features and extract TRaSH guides doc 2026-08-07 16:48:28 +03:00
soulis-1256
0772508c1f
Remove leftover services cheat-sheet on uninstall
Delete ~/assemblrr_services.txt during uninstall and drop redundant
interactive uninstall prose from the docs.
2026-08-05 18:20:08 +03:00
soulis-1256
24d4222eeb
Document removal of root-owned install trees in uninstall.md
Failed VPN setup can leave config/ owned by root so rm -rf fails.
Guide Option 1–3 by install completeness and document Docker-based
removal without sudo.
2026-08-05 14:19:42 +03:00
soulis-1256
15a929d2ef
Use lowercase assemblrr as the product name
Rename display branding and prose from Assemblrr to assemblrr for
a consistent identity across docs, CLI messages, and source comments.
2026-08-05 14:05:14 +03:00
soulis-1256
3ddedb4d15
Add unit/integration tests under tests/ and clean up related docs
Move live watchdog smoke out of scripts/, drop the old ad-hoc test
scripts, and simplify uninstall + README CLI/optional-stack wording.
2026-08-05 13:43:45 +03:00
soulis-1256
e9f356cffd
Initial commit
Assemblrr: Docker-based bootstrap and wiring for a self-hosted media stack.
2026-08-04 23:42:34 +03:00