Request movies from chat and have them added to Radarr (with progress updates back in the same chat).
Here’s an example of the single-message poster card + caption users will receive when requesting a movie (poster attachment + trailer + rating):
Example message caption:
> Shutter Island (2010)
>
> ⭐ IMDb: 8.2/10
>
> 🎬 Trailer: https://www.youtube.com/watch?v=qdPw9x9h5CY
>
> Added to Radarr ✅ (Ultra-HD, /movies). I’ll post progress + “imported ✅” here.
1) Set secrets in ~/.openclaw/.env (never commit these):
RADARR_URL=http://:7878 RADARR_API_KEY=...Optional (recommended for fewer questions later):
RADARR_DEFAULT_PROFILE=HD-1080pRADARR_DEFAULT_ROOT=/data/media/moviesOptional (for the “rich” experience we’ll add next):
TMDB_API_KEY=... (poster + trailer)OMDB_API_KEY=... (IMDb rating)PLEX_URL=http://:32400 PLEX_TOKEN=...2) Verify env + connectivity:
./skills/radarr/scripts/check_env.py
./skills/radarr/scripts/radarr.sh ping
If it fails, check:
./skills/radarr/scripts/radarr.sh profiles
./skills/radarr/scripts/radarr.sh roots
./skills/radarr/scripts/radarr.sh lookup --compact "inception"
./skills/radarr/scripts/radarr.sh lookup --compact "tmdb:603"
./skills/radarr/scripts/radarr.sh add --tmdb 603 --profile "HD-1080p" --root "/data/media/movies" --monitor --search
./skills/radarr/scripts/radarr.sh add --term "Dune" --year 2021 --profile "HD-1080p" --root "/data/media/movies" --monitor --search
When the user says “request/add
Run:
./skills/radarr/scripts/radarr.sh lookup --compact "" If there are multiple plausible matches, ask the user to choose (year or TMDB id).
Resolve defaults from env (and fetch prompt options when missing):
./skills/radarr/scripts/resolve_defaults.py
If defaults are missing, prompt the user to pick one of the returned options:
options.profiles[]options.roots[](If defaults exist, use them silently.)
If TMDB_API_KEY is set, build a movie card:
./skills/radarr/scripts/movie_card.py --tmdb <id>
posterUrl, you can download it and attach it:./skills/radarr/scripts/fetch_asset.py --url "<posterUrl>" --out "./outbound/radarr/<tmdbId>.jpg"
If OMDB_API_KEY is set and an IMDb id is known, the card will include IMDb rating.
Use TMDB when possible:
./skills/radarr/scripts/radarr.sh add --tmdb <id> --profile "<profile>" --root "<root>" --monitor --search
This skill provides a file-based tracker queue:
1) Enqueue tracking for the same chat where the request came from (DM or group):
./skills/radarr/scripts/enqueue_track.py --channel telegram --target "<chatId>" --movie-id <id> --title "<title>" --year <year>
2) A periodic dispatcher should run:
./skills/radarr/scripts/poll_and_queue.py
This will create outbox items under ./state/radarr/outbox/ that your OpenClaw cron runner can send.
If Plex is configured, try to produce a Plex web URL:
./skills/radarr/scripts/plex_link.py --title "<title>" --year <year>
references/onboarding.mdreferences/setup.mdreferences/radarr-api-notes.md共 1 个版本