tdarr-review
Docker app from Desadius' Repository
Review Tdarr transcodes before replacing originals.
Requirements
Overview
Readme
View on GitHubInstall on Unraid
This guide describes 2.6.1, targeting the versioned Linux amd64 image ghcr.io/desadius/tdarr-review:2.6.1. You can also build the source locally. The previous release 1.11.0 has its own guide. The Community Applications entry uses the supplied templates/tdarr-review.xml with latest. Registry availability and catalog visibility are separate; see publication status. Cloning this repository does not update an existing container.
Updating to 2.6.1
2.6.1 keeps the container, mappings, variables and resource limits of 2.6.0. Before updating, read Before updating in the changelog: cases blocked only because a reboot of the server renumbered their files continue at Recovery's next check, and quarantine retention may then delete originals whose seven days have already passed. Better release recommended appears only after the Tdarr flow writes its advisory markers. An installation that still runs 2.5.0 also follows the 2.6.0 steps below.
Updating to 2.6.0
2.6.0 keeps the container, mappings, variables and resource limits of 2.5.0. Before updating, read Before updating in the changelog: older Recovery cases can now offer Keep the current copy, whose evidence 2.5.0 ignores after a revert, and the new TV features stay Off until the dedicated quarantine and v2 Tdarr flow are ready. An installation that still runs 2.4.0 also follows the 2.5.0 steps below.
Updating to 2.5.0
2.5.0 keeps the container, mappings, variables and resource limits of 2.4.0. Before updating, read Before updating in the changelog: Needs attention changes right after the update as Recovery cases get their actions, and cases you close without a note or whose quarantine you delete come back if you revert to 2.4.0. An installation that still runs 2.3.0 also follows the 2.4.0 steps below.
Updating to 2.4.0
2.4.0 keeps the container, mappings, variables and resource limits of 2.3.0. Before updating, read Before updating in the changelog: reviews saved in the new single pass are not readable by 2.3.0, so replace films approved after the update before reverting. An installation that still runs 2.2.0 also follows the 2.3.0 steps below.
Updating to 2.3.0
2.3.0 keeps the container, mappings, variables and resource limits of 2.2.0. Before updating, read Before updating in the changelog: refresh affected Recovery diagnoses once after the update, and finish every restore before reverting to an older image. The TV features are optional and stay off until configured. An installation that still runs 2.1.0 also follows the 2.2.0 steps below.
Updating to 2.2.0
2.2.0 keeps the container, mappings, variables and resource limits of 2.1.0. Before updating, read Before updating in the changelog: settings Apply changes now needs Test saved draft first, and clears saved reviews and Approve decisions only when the review binding changes. An installation that still runs 2.0.0 also follows the 2.1.0 steps below.
Updating to 2.1.0
2.1.0 keeps the single container, its mappings, variables and resource limits. Before updating, complete Before updating in the changelog: check Recovery's config.json against the stricter rules with the new image, and note that new settings take effect only with Apply changes, whose first use cannot be undone by returning to 2.0.0. An installation that still runs 1.11.0 first follows the 2.0.0 steps below.
Updating to 2.0.0
2.0.0 installs as one container. The Review image contains optional Recovery, which is Off by default and controlled by RECOVERY_MODE (off, verify, repair) in the template or .env. The separate Recovery image, the Compose recovery service and the Recovery data directory are discontinued; Recovery keeps its files in /data/recovery/. The resource limits rise to two CPUs, 2 GiB and 256 processes, because Review and an original decode share them.
- You ran only Review: back up
/data, update only while no approval, batch, node restore or transaction recovery is running, and keep the existing mappings, access key and settings. Raise the limits in Extra Parameters as in step 3. Nothing else changes; Recovery stays Off. - You also ran the Recovery container: follow the 2.0 migration guide. It copies the old Recovery data, keeps frozen approval paths through an extra
/storagemapping and removes the old container, so two Recovery instances never act on one library.
Select the version (2.6.1) explicitly; updating source or publishing images does not deploy an existing installation.
The five-step assessment and current reviewRevision required since 1.10.2 remain mandatory for approval. The optional Recovery routing function is a separate Tdarr flow change; follow the integration guide.
1. Prepare paths and permissions
Choose four persistent locations: Review state, original media, Tdarr output awaiting approval, and the Tdarr DB2 directory. The example uses /mnt/user/media/movies for films and mounts its parent /mnt/user/media so quarantine can live outside the Plex library. This shared parent may also expose /mnt/user/media/tvshows inside /media; visibility alone does not configure TV paths. The /review mapping may already contain movie and TV result folders. Keep their Tdarr prefixes separate.
Do not point REVIEW_HOST at the original library. Tdarr must write results to this separate location and preserve the original. If you already have Review results, use that existing directory.
Example for new application/output directories:
mkdir -p /mnt/cache/appdata/tdarr-review/data
mkdir -p /mnt/cache/tdarr-review-output
chown nobody:users /mnt/cache/appdata/tdarr-review/data /mnt/cache/tdarr-review-output
chmod 770 /mnt/cache/appdata/tdarr-review/data /mnt/cache/tdarr-review-output
Unraid commonly uses UID 99 / GID 100 (nobody:users). Verify your installation. Review needs write access to the media directories and results, including permission to rename files and create temporary files. Do not recursively change permissions on the whole library merely to install this application.
2. Clone and configure
git clone https://github.com/Desadius/Tdarr-Review.git
cd Tdarr-Review
cp .env.example .env
Edit .env in a text editor. Set REVIEW_IMAGE_TAG=2.6.1 for this source release, your real paths and API address. Set REVIEW_BIND_IP to the server's LAN IP if you want LAN access. Set PUBLIC_ORIGIN to exactly the browser origin, for example http://YOUR_UNRAID_IP:8270 (with your actual IP).
TDARR_DB_HOST must be the directory containing SQL/database.db, not just the database file. Its WAL/SHM sidecars must be available through the same read-only mapping. Locate this directory in your Tdarr server appdata before starting.
After the 2.6.1 image has been published, if Docker Compose is available on your Unraid installation:
docker compose pull review
docker compose up -d --no-build review
docker compose logs --tail 40 review
For the prepared source before image publication, or a local build at any time, use docker compose build review and docker compose up -d review. A locally built image does not establish that the same registry tag is public.
3. Unraid Docker template
Once catalog inclusion is confirmed, search Apps for tdarr-review, select Install and edit the paths and the two required URLs. Before catalog acceptance, you can import the supplied XML manually in your Unraid template directory:
mkdir -p /boot/config/plugins/dockerMan/templates-user
curl --fail --location --output /boot/config/plugins/dockerMan/templates-user/my-tdarr-review.xml \
https://raw.githubusercontent.com/Desadius/Tdarr-Review/main/templates/tdarr-review.xml
Then select it in Docker → Add Container. Confirm the existing template file will not be overwritten if you already have an installation. The image must be publicly downloadable first. The template includes resource limits and writable state; prepare host directory permissions as in step 1. It does not install a Tdarr server or change its flows.
If using a local build rather than the registry image, build from the repository directory and replace Repository with tdarr-review:local:
docker build -t tdarr-review:local .
In Docker → Add Container, configure:
| Field | Value |
|---|---|
| Name | tdarr-review |
| Repository | ghcr.io/desadius/tdarr-review:2.6.1 after publication, or tdarr-review:local |
| Network | bridge |
| WebUI | http://[IP]:[PORT:8270] |
| Port | Host 8270 → container 8270/TCP |
Variable PUBLIC_ORIGIN |
Actual URL used in the browser |
Variable TDARR_URL |
Tdarr API address reachable from this container |
Variable MEDIA_ROOT |
/media/movies |
Variable REVIEW_ROOT |
/review |
Variable RECOVERY_MODE |
off (default), verify or repair; see Optional Recovery |
| App state | Your state directory → /data, read/write |
| Media parent | Your media share → /media, read/write |
| Review output | Your results directory → /review, read/write |
| Tdarr DB2 | Your DB2 directory → /tdarr, read-only |
Suggested Extra Parameters:
--user=99:100 --read-only --cap-drop=ALL --security-opt=no-new-privileges --cpus=2 --memory=2g --pids-limit=256 --tmpfs=/tmp:rw,noexec,nosuid,size=128m --restart=unless-stopped --log-opt=max-size=10m --log-opt=max-file=3
Enable Unraid Autostart for this container. Do not start a second Compose instance using the same state/media mappings if you use the Unraid template. The application is designed for one Review writer. The limits cover Review and, when enabled, Recovery's original decodes in the same container.
4. First login and settings
On first start, Review creates /data/access-key with restricted permissions. Read it privately from the mapped data directory and enter it on the login page. Do not paste it into an issue or commit it. Sessions last 30 days.
Choose English or Čeština in the header; the choice is saved in this browser. Open Settings (Nastavení). Fill in the source roots as seen by the Tdarr server, the Review path as seen by Tdarr, the library ID and optional prefixes. Use the connection/path test before saving. A saved /data/settings.json takes precedence over environment defaults on subsequent starts.
For the example layout:
Review mediaRoot: /media/movies
Review reviewRoot: /review
Tdarr sourceRoots: /media/movies
Tdarr tdarrReviewRoot: /pilot-review (or your actual Tdarr mapping)
reviewPrefixes: PROD-Movies (only if results use this prefix)
database: /tdarr/SQL/database.db
See Configuration for aliases and extension-changing flows.
The optional TV library path draft is not needed for movie installation. To prepare it safely, follow Add TV paths. TV paths do not enable episode discovery or replacement.
5. Verify before approval
Check that expected results match their originals. Use a disposable test film to complete Preparation → Picture → Audio → Synchronisation → Decision, confirming each check beside its tool and saving start/middle/end sync checks separately. Save a partial review, close it and reopen it to verify persistent progress. Confirm Tdarr health checks, audio/subtitle policy and paths. Approval requires the current completed server-saved review, snapshot and revision, including for every film in a batch. The final approval dialog copies a result back to the library and removes the replaced original after a verified transaction; it is a real media modification.
For external player/TV checks, name a device/player with at least two characters after trimming surrounding whitespace. HDR/Dolby Vision also requires its own confirmation on a suitable named device. Browser AV previews use H.264/mono AAC at up to 960 px and supported HDR is converted to SDR; they do not test native HDR or surround playback. Use Defer review with a note when more checks remain. See the user guide.
Plex sees the replacement at the original film path (or the verified MKV destination for a TS/M2TS source). Review does not call Plex's API. Use Plex's normal automatic/periodic scan or trigger a library scan yourself.
6. Optional Recovery
Recovery runs inside the Review container and is Off until you set RECOVERY_MODE to verify or repair (the Recovery mode dropdown in the template, or RECOVERY_MODE in .env for Compose). With off, nothing about Recovery runs and Review works as before, including its manual Radarr integration. A mode change applies after a container restart.
Copy examples/recovery-config.example.json into Review's data directory as recovery/config.json (host path for the example: /mnt/cache/appdata/tdarr-review/data/recovery/config.json). Its defaults use the mappings Review already has: library /media/movies, quarantine /media/.tdarr-corrupt, reports /tdarr/JobReports and the database /tdarr/SQL/database.db. Edit every relevant field, supply the Radarr key privately, and restrict the directory and file to the container UID:
mkdir -p /mnt/cache/appdata/tdarr-review/data/recovery
cp examples/recovery-config.example.json /mnt/cache/appdata/tdarr-review/data/recovery/config.json
chown -R nobody:users /mnt/cache/appdata/tdarr-review/data/recovery
chmod 700 /mnt/cache/appdata/tdarr-review/data/recovery
chmod 600 /mnt/cache/appdata/tdarr-review/data/recovery/config.json
Set a suitable since timestamp in Unix milliseconds instead of zero if you only want recent Tdarr errors considered. Do not add enabled; RECOVERY_MODE is the only switch.
Create the quarantine root before enabling repairs. For the example media mapping:
mkdir -p /mnt/user/media/.tdarr-corrupt
chown nobody:users /mnt/user/media/.tdarr-corrupt
chmod 770 /mnt/user/media/.tdarr-corrupt
Use the parent of your actual movie library if it differs. It must be writable by the container and outside Plex's movie root, but within the same mounted media tree.
Start with RECOVERY_MODE=verify and restart the container. Verify confirms corrupted originals but makes no automatic external repairs. dry_run cases are not automatically replayed when you later switch to repair; inspect them deliberately. Do not switch to repair until the mappings and Radarr history are confirmed. Review's Recovery view shows whether Recovery is Off, Running, Restarting, Refused or Stopped. It is refused (exit code 78, RECOVERY_REFUSED <reason> in docker logs tdarr-review) when the mode is invalid, when config.json is missing or invalid, when an enabled value left in config.json disagrees with the mode, or when the approval registry refuses the configuration; see Recovery mode. A refusal never stops Review or makes the container unhealthy.
A fresh installation needs no frozen pending approvals. The empty examples/recovery-approval-registry.example.json may be copied privately to /data/recovery/pending-approvals.json; it does not authorize repairs. An installation that ran the separate Recovery container up to 1.11.0 follows the 2.0 migration guide instead; its private registry is copied unchanged.
7. Update an existing installation
Keep the existing state, media, Review output and read-only Tdarr database mappings. Back up the mapped /data directory privately before the update; it contains access settings, history, journals and now server-saved review progress. Do not replace it with a fresh example directory. Run only one Review writer against those mappings.
After registry publication, pin REVIEW_IMAGE_TAG=2.6.1 in the existing .env, or the explicit ghcr.io/desadius/tdarr-review:2.6.1 Repository value in Unraid, then pull/recreate that same Review service. A source build can be installed independently. Recovery is part of the same image and updates with it; an installation that still runs the separate Recovery container follows the 2.0 migration guide.
Existing pending films start with an unfinished manual review when no matching version-1 session is saved. Past successful transcodes, technical scores and historical approvals do not fabricate new checklist confirmations. Verify container health, login, the five-step workspace and reopening saved/deferred progress before approving a real film. Updating the source or image does not update your own installation automatically.
Categories
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/desadius/tdarr-review:latestRuntime arguments
- Web UI
http://[IP]:[PORT:8270]- Network
bridge- Shell
bash- Privileged
- false
- Extra Params
--user=99:100 --read-only --cap-drop=ALL --security-opt=no-new-privileges --cpus=2 --memory=2g --pids-limit=256 --tmpfs=/tmp:rw,noexec,nosuid,size=128m --restart=unless-stopped --log-opt=max-size=10m --log-opt=max-file=3
Template configuration
Host port for Review. If changed, update PUBLIC_ORIGIN to the exact browser URL.
- Target
- 8270
- Default
- 8270
- Value
- 8270
Enter the exact origin used in your browser, for example http://YOUR_UNRAID_IP:8270. Include the selected host port; no trailing path.
- Target
- PUBLIC_ORIGIN
Enter the Tdarr server API URL reachable from this container, for example http://YOUR_UNRAID_IP:8266. This is the server API port, not its WebUI port.
- Target
- TDARR_URL
Persistent Review settings, access key, history and journals. Use one Review container per state directory. Must be writable by UID 99 / GID 100.
- Target
- /data
- Default
- /mnt/cache/appdata/tdarr-review/data
- Value
- /mnt/cache/appdata/tdarr-review/data
Shared parent mapping for your movie library and any other folders you deliberately place beneath it. The default expects films in media/movies. Review needs write access for movie approval and quarantine outside the Plex library. A visible /media/tvshows folder is only Docker access; it does not configure a TV library. Configure MEDIA_ROOT if your movie folder name differs.
- Target
- /media
- Default
- /mnt/user/media
- Value
- /mnt/user/media
Separate host folder containing completed Tdarr results awaiting approval. Never select the original movie library. Use your existing results folder if already configured.
- Target
- /review
- Default
- /mnt/cache/tdarr-review-output
- Value
- /mnt/cache/tdarr-review-output
Directory containing SQL/database.db and its WAL/SHM files, mounted read-only. Locate your actual Tdarr DB2 directory; do not map only the database file.
- Target
- /tdarr
- Default
- /mnt/cache/appdata/tdarr/server/Tdarr/DB2
- Value
- /mnt/cache/appdata/tdarr/server/Tdarr/DB2
Optional automatic repair of corrupted originals. off: Recovery does not run. verify: confirm corrupted originals without changing them. repair: repair confirmed corruptions within the configured limits. verify and repair also need /data/recovery/config.json. Applies after a container restart.
- Target
- RECOVERY_MODE
- Default
- off|verify|repair
- Value
- off
Container path to your movie library inside the Media parent mapping. Configure the matching source roots used by Tdarr in Review Settings after login.
- Target
- MEDIA_ROOT
- Default
- /media/movies
- Value
- /media/movies
Container path to completed results, matching the Results awaiting review mapping.
- Target
- REVIEW_ROOT
- Default
- /review
- Value
- /review