Communitygithub.com

cli-anything-rekordbox

用于 Pioneer Rekordbox 6/7 的智能体原生 CLI 工具,可编程控制 DJ 曲库和实时调音台。

cli-anything-rekordbox 是什么?

cli-anything-rekordbox 是一个专为 AI 智能体设计的命令行工具,它通过 CLI 接口直接驱动 Pioneer Rekordbox 6 或 7 的 DJ 曲库和实时调音台。开发者或智能体可以将其集成到工作流中,实现自动化的曲库管理、播放列表操作以及实时混音控制,例如搜索曲目、创建播放列表、触发 Hot Cue 或执行混音过渡。它支持在 Windows、macOS 和 Linux 平台上运行,但需要安装对应的虚拟 MIDI 驱动(如 loopMIDI、IAC Driver 或 ALSA snd-virmidi)以控制实时调音台。核心原理是通过 pyrekordbox 库读取和写入 Rekordbox 的加密 master.db 数据库(使用静态 AES-256 密钥),并通过 midi 库和虚拟 MIDI 端口模拟 Pioneer 的 .midi.csv 映射文件(内附 Bunker.midi.csv)发送控制指令。所有命令均支持 --json 输出,便于智能体解析结果。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-rekordbox

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

cli-anything-rekordbox 是做什么的?

面向智能体的 Pioneer Rekordbox 6/7 原生 CLI 工具,可编程控制 DJ 曲库和实时调音台。

安装

pip install cli-anything-rekordbox

前提条件:

  • Python 3.10+
  • 已安装 Rekordbox 6 或 7(必须存在 master.db)
  • 虚拟 MIDI 驱动(用于实时调音台控制):
    • Windows:loopMIDI / LoopBe / teVirtualMIDI
    • macOS:IAC Driver
    • Linux:ALSA 虚拟 MIDI(snd-virmidi)

用法

# 状态检查
cli-anything-rekordbox status

# REPL 模式
cli-anything-rekordbox

# JSON 输出(适用于智能体)
cli-anything-rekordbox --json library search "Daft Punk"

命令组

曲库

命令描述
count曲目总数
search QUERY按标题/艺人子串搜索曲目
info TRACK_ID曲目完整元数据
dump --out FILE.json导出完整曲库为 JSON

播放列表

命令描述
list所有播放列表
create NAME [--force] [--no-backup]新建播放列表
add NAME --track-title T [--force] [--no-backup]添加曲目
clear NAME [--force] [--no-backup]清空播放列表

播放列表写入操作会在变更前创建 master.db 备份。如果 Rekordbox 正在运行,则拒绝执行,除非指定 --force;强制写入仍需备份。--no-backup 仅在 Rekordbox 关闭时接受。

调音台(实时 MIDI)

命令描述
play --deck N播放/暂停
sync --deck N速度同步
crossfade FROM TO --secs S平滑交叉淡入淡出
eq --deck N --hi --mid --loEQ 控制
hot-cue --deck N --slot 1-8触发 Hot Cue

顶层命令

命令描述
status运行时/数据库/MIDI 状态
install-mapping将 Bunker.midi.csv 放入 rekordbox 的 MidiMappings 文件夹
mix A B --secs S高级操作:搜索 + 加载 + 同步 + 交叉淡入淡出

工作原理

+------------------+
|   你的智能体     |
+--------+---------+
         |
         v
+------------------+
| cli-anything-    |
| rekordbox CLI    |
+--------+---------+
   |          |
   v          v
+----------+  +----------+
|pyrekord- |  |  mido +  |
|box DB    |  |  virtual |
|writes    |  |  MIDI    |
+----------+  +----------+
   |               |
   v               v
+----------+  +-----------+
| master.db|  | Rekordbox |
|SQLCipher |  | 实时调音台|
+----------+  +-----------+
  • master.db 使用所有 rekordbox 6/7 安装共享的静态 AES-256 密钥加密(由 pyrekordbox 自动提取)
  • 虚拟 MIDI 映射使用 Pioneer 标准的 .midi.csv 格式;此 CLI 自带 Bunker.midi.csv 和 install-mapping 命令,可将其放入 rekordbox 的 MidiMappings/ 文件夹

JSON 输出

每个命令都支持 --json:

$ cli-anything-rekordbox --json library count
{"track_count": 30344}

许可证

MIT

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相关技能