名称: sonarr
版本: 1.0.0
描述: 搜索剧集并添加到 Sonarr。支持监控选项和添加时搜索。
元数据: {"clawdbot":{"emoji":"📺","requires":{"bins":["curl","jq"]}}}
将剧集添加到您的 Sonarr 媒体库。
创建配置文件 ~/.clawdbot/credentials/sonarr/config.json:
{
"url": "http://localhost:8989",
"apiKey": "your-api-key",
"defaultQualityProfile": 1
}
defaultQualityProfile: 质量配置文件 ID(运行 config 命令可查看选项)search "剧集名称" - 返回带编号的列表[剧集名 (年份)](https://thetvdb.com/series/SLUG)defaultQualityProfile;可在每次添加时覆盖bash scripts/sonarr.sh search "Breaking Bad"
bash scripts/sonarr.sh exists <tvdbId>
bash scripts/sonarr.sh add <tvdbId> # 立即搜索
bash scripts/sonarr.sh add <tvdbId> --no-search # 不搜索
bash scripts/sonarr.sh remove <tvdbId> # 保留文件
bash scripts/sonarr.sh remove <tvdbId> --delete-files # 同时删除文件
移除剧集时,务必询问用户是否要删除文件!
bash scripts/sonarr.sh config