360 Secure SkillHub
360 安全技能中心

Radarr

通过 bash 脚本调用 Radarr REST API,按名称搜索电影、用 TMDB ID 添加单部影片或整个合集,并可查询存在性、移除影片(可选删文件)、查看根目录与质量配置文件。需先在配置文件中填写 Radarr 地址与 API Key,依赖 curl 与 jq。

分类:自动化
jordyvandomselaar
jordyvandomselaar
热度 56.81
最近更新 2026-05-11 15:48:49

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jordyvandomselaar/radarr
兼容性
Clawdbot 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
radarr
version
1.0.1
description
Search and add movies to Radarr. Supports collections, search-on-add option.
metadata
{"clawdbot":{"emoji":"🎬","requires":{"bins":["curl","jq"]}}}

Radarr

Add movies to your Radarr library with collection support.

Setup

Create ~/.clawdbot/credentials/radarr/config.json:

{
  "url": "http://localhost:7878",
  "apiKey": "your-api-key",
  "defaultQualityProfile": 1
}
  • defaultQualityProfile: Quality profile ID (run config to see options)

Workflow

  1. Search: search "Movie Name" - returns numbered list
  2. Present results with TMDB links - always show clickable links
  3. Check: User picks a number
  4. Collection prompt: If movie is part of collection, ask user
  5. Add: Add movie or full collection

Important

  • Always include TMDB links when presenting search results to user
  • Format: [Title (Year)](https://themoviedb.org/movie/ID)
  • Uses defaultQualityProfile from config; can override per-add

Commands

Search for movies

bash scripts/radarr.sh search "Inception"

Check if movie exists in library

bash scripts/radarr.sh exists <tmdbId>

Add a movie (searches immediately by default)

bash scripts/radarr.sh add <tmdbId>           # searches right away
bash scripts/radarr.sh add <tmdbId> --no-search  # don't search

Add full collection (searches immediately by default)

bash scripts/radarr.sh add-collection <collectionTmdbId>
bash scripts/radarr.sh add-collection <collectionTmdbId> --no-search

Remove a movie

bash scripts/radarr.sh remove <tmdbId>              # keep files
bash scripts/radarr.sh remove <tmdbId> --delete-files  # delete files too

Always ask user if they want to delete files when removing!

Get root folders & quality profiles (for config)

bash scripts/radarr.sh config