OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  lidarr:在 Lidarr 中搜索并添加音乐资源

lidarr:在 Lidarr 中搜索并添加音乐资源

 
  logging ·  2026-02-17 15:26:46 · 3 次点击  · 0 条评论  

名称: lidarr
版本: 1.0.0
描述: 为 Lidarr 搜索并添加音乐。支持艺术家、专辑和质量配置(优先 FLAC)。
元数据: {"openclaw":{"emoji":"🎵","requires":{"bins":["curl","jq"]}}}


Lidarr

向你的 Lidarr 音乐库中添加音乐(艺术家和专辑)。

配置

创建 ~/.clawdbot/credentials/lidarr/config.json 文件:

{
  "url": "http://192.168.1.50:8686",
  "apiKey": "efbd6c29db184911a7b0f4707ae8f10f",
  "defaultQualityProfile": 2,
  "defaultMetadataProfile": 7
}
  • defaultQualityProfile: 质量配置 ID(如 FLAC、MP3 等 — 运行 config 命令查看选项)
  • defaultMetadataProfile: 元数据配置 ID(如仅专辑、完整作品集等 — 运行 config 命令查看选项)

质量配置

通常推荐使用 FLAC:
- 无损 (FLAC)
- 24位无损 (FLAC 24-bit)

元数据配置

  • 仅专辑(推荐) — 仅包含录音室专辑
  • 标准 — 专辑及部分额外内容
  • 完整作品集 / 全部 — 所有发行版本

工作流程

1. 搜索艺术家

bash scripts/lidarr.sh search "艺术家名称"

返回带 MusicBrainz 链接的编号列表。

2. 检查艺术家是否存在

bash scripts/lidarr.sh exists <foreignArtistId>

3. 添加艺术家

bash scripts/lidarr.sh add <foreignArtistId>

如果艺术家已存在,此命令将改为监控该艺术家,而非报错。

选项:
- --discography — 添加完整作品集,而非仅专辑
- --no-search — 不立即开始搜索

4. 列出艺术家的专辑

bash scripts/lidarr.sh list-artist-albums <artistId>

显示所有专辑及其 ID 和监控状态。

5. 监控特定专辑

bash scripts/lidarr.sh monitor-album <albumId>

监控并可选搜索特定专辑。

选项:
- --no-search — 仅监控,暂不搜索

命令参考

搜索艺术家

bash scripts/lidarr.sh search "KMFDM"

检查艺术家是否存在

bash scripts/lidarr.sh exists 45074d7c-5307-44a8-854f-ae072e1622ae

添加艺术家(默认 FLAC + 仅专辑)

bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae

添加艺术家(完整作品集)

bash scripts/lidarr.sh add 45074d7c-5307-44a8-854f-ae072e1622ae --discography

列出艺术家的专辑

bash scripts/lidarr.sh list-artist-albums 382

监控特定专辑

bash scripts/lidarr.sh monitor-album 11116

列出音乐库

bash scripts/lidarr.sh list

刷新艺术家元数据

bash scripts/lidarr.sh refresh <artistId>

移除艺术家

bash scripts/lidarr.sh remove <artistId>              # 保留文件
bash scripts/lidarr.sh remove <artistId> --delete-files  # 同时删除文件

获取配置信息

bash scripts/lidarr.sh config
3 次点击  ∙  0 人收藏  
登录后收藏  
目前尚无回复
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor