← 返回 Skills 市场
photonixlaser-ux

Lyrion Music

作者 photonixlaser-ux · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
1164
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lyrion-music-skill
功能描述
Steuere Lyrion Music Server (LMS) über die JSON-RPC API. Nutze diesen Skill für Wiedergabe-Steuerung (Play/Pause/Stop), Lautstärke, Playlist-Verwaltung, Player-Auswahl und Musikdatenbank-Abfragen. Erfordert LMS auf Port 9000.
使用说明 (SKILL.md)

Lyrion Music Server Skill

Steuerung des Lyrion Music Servers (ehemals Logitech Media Server) über JSON-RPC API.

Konfiguration

Standard-Host: 192.168.20.40:9000 (konfigurierbar über LYRION_HOST Umgebungsvariable)

Verwendung

Nutze das Skript scripts/lyrion.sh für alle Operationen:

./skills/lyrion-music/scripts/lyrion.sh \x3Cbefehl> [parameter]

Befehle

Player-Verwaltung:

  • players - Liste aller Player
  • status [player_id] - Aktueller Status eines Players

Wiedergabe-Steuerung:

  • play [player_id] - Wiedergabe starten
  • pause [player_id] - Pause umschalten
  • stop [player_id] - Stoppen
  • power [player_id] [on|off] - Player ein/ausschalten

Lautstärke:

  • volume [player_id] [0-100|+|-] - Lautstärke setzen/ändern
  • mute [player_id] - Stummschalten

Playlist:

  • playlist [player_id] - Aktuelle Playlist anzeigen
  • clear [player_id] - Playlist leeren
  • add [player_id] \x3Curl/pfad> - Titel zur Playlist hinzufügen
  • playtrack [player_id] \x3Cindex> - Bestimmten Titel abspielen

Datenbank:

  • artists - Künstler auflisten
  • albums [artist_id] - Alben auflisten
  • songs [album_id] - Titel auflisten
  • search \x3Csuchbegriff> - Globale Suche

API Referenz

Siehe references/api.md für vollständige API-Dokumentation.

Beispiele

# Alle Player anzeigen
./skills/lyrion-music/scripts/lyrion.sh players

# Wiedergabe im Wohnzimmer starten (Player ID erforderlich)
./skills/lyrion-music/scripts/lyrion.sh play aa:bb:cc:dd:ee:ff

# Lautstärke auf 50% setzen
./skills/lyrion-music/scripts/lyrion.sh volume aa:bb:cc:dd:ee:ff 50

# Playlist leeren und Album abspielen
./skills/lyrion-music/scripts/lyrion.sh clear aa:bb:cc:dd:ee:ff
./skills/lyrion-music/scripts/lyrion.sh add aa:bb:cc:dd:ee:ff "db:album.id=123"
./skills/lyrion-music/scripts/lyrion.sh play aa:bb:cc:dd:ee:ff
安全使用建议
This skill appears to do what it says (control a local Lyrion/Logitech Media Server). Before installing: (1) review the scripts/lyrion.sh contents to confirm it only talks to your LMS host and does not call external hosts or read unrelated files; (2) set LYRION_HOST explicitly if you want to limit which device it can control; (3) if you do not want the agent to autonomously control playback, ensure the skill is marked user-invocable only or disable model invocation; and (4) run the skill in a controlled environment (or inspect the script) if you have sensitive devices on the same network.
功能分析
Type: OpenClaw Skill Name: lyrion-music-skill Version: 0.1.0 The OpenClaw skill 'lyrion-music' is designed to control a Lyrion Music Server (LMS) via its JSON-RPC API. The `SKILL.md` provides clear, benign instructions for using the skill and contains no prompt injection attempts. The core script `scripts/lyrion.sh` uses `curl` to send JSON-RPC requests to a configurable host (defaulting to a private IP `192.168.20.10` or `192.168.20.40`). It does not access sensitive files, exfiltrate data to unauthorized external endpoints, or execute arbitrary remote code. The use of `python3 -m json.tool` is solely for formatting output, which is a benign debugging/readability practice. All observed behaviors are aligned with the stated purpose of controlling a local music server.
能力评估
Purpose & Capability
Name/description, SKILL.md and the included script all describe controlling a Lyrion Music Server over JSON-RPC (port 9000). Nothing in the metadata or instructions requests unrelated cloud credentials, host access, or system-level privileges that would be out of scope for a local music-server control skill.
Instruction Scope
Instructions are narrowly scoped to running the bundle's script (./skills/lyrion-music/scripts/lyrion.sh) to query players, control playback, manage playlists and search the music DB. SKILL.md references an environment variable (LYRION_HOST) as configurable; the instructions do not ask for reading other host files or unrelated system state. Because a script is executed, its internal behaviour (network calls, file reads) cannot be verified from SKILL.md alone.
Install Mechanism
No install spec — lowest-risk delivery. The package includes a shell script that the SKILL.md expects to run directly; there is no remote download or archive extraction declared.
Credentials
The skill declares no required environment variables or credentials, which is proportionate for a LAN-control skill. SKILL.md mentions an optional LYRION_HOST env var (default 192.168.20.40:9000) that is not declared in the metadata — a minor mismatch but not a direct security red flag. No secrets or unrelated tokens are requested.
Persistence & Privilege
always is not set, but disable-model-invocation is also not set, so the model could autonomously invoke this skill. That means the agent could issue playback/volume/playlist commands to devices on your LAN without an explicit user prompt. This is expected for control skills but is an operational risk you should be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lyrion-music-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lyrion-music-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of lyrion-music-skill. - Control Lyrion Music Server (LMS) via JSON-RPC API. - Supports playback (play/pause/stop), volume control, playlist management, player selection, and music database queries. - Includes shell script (`lyrion.sh`) for all operations. - Default server host configurable via environment variable. - Detailed usage instructions and example commands provided in documentation.
元数据
Slug lyrion-music-skill
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Lyrion Music 是什么?

Steuere Lyrion Music Server (LMS) über die JSON-RPC API. Nutze diesen Skill für Wiedergabe-Steuerung (Play/Pause/Stop), Lautstärke, Playlist-Verwaltung, Player-Auswahl und Musikdatenbank-Abfragen. Erfordert LMS auf Port 9000. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1164 次。

如何安装 Lyrion Music?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lyrion-music-skill」即可一键安装,无需额外配置。

Lyrion Music 是免费的吗?

是的,Lyrion Music 完全免费(开源免费),可自由下载、安装和使用。

Lyrion Music 支持哪些平台?

Lyrion Music 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Lyrion Music?

由 photonixlaser-ux(@photonixlaser-ux)开发并维护,当前版本 v0.1.0。

💬 留言讨论