跳到正文
TakoAPI
返回技能列表

music-assistant

由 rodrigosiviero 提供

Coding Agents & IDEs
160下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control Music Assistant (Home Assistant music server) - playback, volume, queue management, and library search.

描述

该技能的功能

Controls a Music Assistant server from the command line. Supports play/pause, skip, volume, queue management, and library search across connected music providers. Works with Spotify, Plex, local files, and other sources configured in Music Assistant.

Lets you control a self-hosted music server entirely from the terminal or scripts, without needing a GUI or remote desktop session.

何时使用

  • Playing an artist or track by name from the terminal
  • Adjusting playback volume without opening a browser or app
  • Checking what song is currently playing on a home server
  • Enabling shuffle or changing repeat mode for background listening
  • Searching a self-hosted music library across multiple providers

示例工作流

输入

User asks: Play some Pink Floyd

智能体
  1. 1

    Run play-search with query 'pink floyd'

  2. 2

    Music Assistant searches the library across connected providers

  3. 3

    First matching result is queued and playback begins

  4. 4

    Run status to confirm the now-playing track and player state

输出

A Pink Floyd track starts playing on the configured player

前置要求

  • MA_URL environment variable (Music Assistant server URL, e.g. http://YOUR_SERVER_IP:8095/api)
  • MA_TOKEN environment variable (Long-Lived Access Token from Music Assistant Settings > Security)
  • Self-hosted Music Assistant server

安装

clawhub install rodrigosiviero/music-assistant

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接