feat: add physical release date lookup and TMDB push scripts - #5
Open
mvanbaak wants to merge 9 commits into
Open
feat: add physical release date lookup and TMDB push scripts#5mvanbaak wants to merge 9 commits into
mvanbaak wants to merge 9 commits into
Conversation
Searches Blu-ray.com for physical release dates missing from Radarr. Outputs results as table, JSON, or CSV for manual TMDB submission.
Two-phase approach for pushing physical release dates to TMDB: - tmdb_login.sh: Playwright-based login, exports session cookies - push_physical_to_tmdb.sh: curl-based API calls, runs anywhere Phase 1 (tmdb_login.sh) runs once on machine with display to solve AWS WAF JavaScript challenge. Phase 2 (push_physical_to_tmdb.sh) uses exported cookies for POSIX-only execution on FreeBSD/headless servers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Three scripts that bridge the gap between Blu-ray.com physical release dates and TMDB:
Also adds
--help/-hflag to all 7 scripts in the repo.Why
Radarr's
physicalReleasefield is populated from TMDB, which sometimes lacks physical release dates (e.g. Supergirl 2026 had a Blu-ray planned for Sep 08 2026 before TMDB listed it). Blu-ray.com has this data earlier.TMDB has no API write endpoint for movie metadata — dates must be submitted manually via their website. These scripts automate that process.
How
Two-phase cookie-based authentication
TMDB's login endpoint is protected by AWS WAF JavaScript challenges. curl can't solve these, but Playwright can.
~/.tmdb_cookies.txt)Pipeline integration
Date format conversion
Accepts both
YYYY-MM-DDandSep 08, 2026formats (output from Blu-ray.com lookup).Usage
All scripts support
--help/-hfor quick reference.Flags
fetch_physical_dates.sh
--limit N--export <file>--csv--json--quiet--debug--country <code>push_physical_to_tmdb.sh
--dry-run--country <code>--language <code>--type <N>--note <text>--cookies <file>--rate-limit <s>--debugtmdb_login.sh
--cookies <file>--debugConfiguration
Add to
scripts.conf:Dependencies
Scheduling