Radarr (Fixed)
⚠️ FORK NOTICE: This is a fork of jordyvandomselaar/radarr with corrected metadata declarations.
Add movies to your Radarr library with collection support.
Setup
Create ~/.openclaw/credentials/radarr/config.json:
{
"url": "http://localhost:7878",
"apiKey": "your-api-key",
"defaultQualityProfile": 1
}
- -
defaultQualityProfile: Quality profile ID (run config to see options)
Alternative: Environment Variables
Instead of config file, you can use:
- -
RADARR_URL - Radarr instance URL - INLINECODE4 - Radarr API key
Workflow
- 1. Search:
search "Movie Name" - returns numbered list - Present results with TMDB links - always show clickable links
- Check: User picks a number
- Collection prompt: If movie is part of collection, ask user
- Add: Add movie or full collection
Important
- - Always include TMDB links when presenting search results to user
- Format: INLINECODE6
- Uses
defaultQualityProfile from config; can override per-add
Commands
Search for movies
CODEBLOCK1
Check if movie exists in library
CODEBLOCK2
Add a movie (searches immediately by default)
CODEBLOCK3
Add full collection (searches immediately by default)
CODEBLOCK4
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
Original skill by jordyvandomselaar. Fork maintained with permission under open source principles.
Radarr (修复版)
⚠️ 分支说明: 本仓库是 jordyvandomselaar/radarr 的分支,已修正元数据声明。
支持合集管理的电影添加工具。
配置
创建 ~/.openclaw/credentials/radarr/config.json:
json
{
url: http://localhost:7878,
apiKey: your-api-key,
defaultQualityProfile: 1
}
- - defaultQualityProfile:画质配置ID(运行 config 查看选项)
备选方案:环境变量
除配置文件外,也可使用:
- - RADARRURL - Radarr 实例地址
- RADARRAPI_KEY - Radarr API 密钥
工作流程
- 1. 搜索:search 电影名称 - 返回编号列表
- 显示含TMDB链接的结果 - 始终显示可点击链接
- 确认:用户选择编号
- 合集提示:若电影属于合集,询问用户
- 添加:添加单部电影或完整合集
重要事项
- - 展示搜索结果时务必包含TMDB链接
- 格式:片名 (年份)
- 使用配置中的 defaultQualityProfile;每次添加可覆盖
命令
搜索电影
bash
bash scripts/radarr.sh search 盗梦空间
检查电影是否在库中
bash
bash scripts/radarr.sh exists
添加电影(默认立即搜索)
bash
bash scripts/radarr.sh add # 立即搜索
bash scripts/radarr.sh add --no-search # 不搜索
添加完整合集(默认立即搜索)
bash
bash scripts/radarr.sh add-collection
bash scripts/radarr.sh add-collection --no-search
移除电影
bash
bash scripts/radarr.sh remove # 保留文件
bash scripts/radarr.sh remove --delete-files # 同时删除文件
移除时务必询问用户是否删除文件!
获取根目录和画质配置(用于配置)
bash
bash scripts/radarr.sh config
原始技能作者:jordyvandomselaar。本分支在开源原则下获得许可并维护。