← 返回
开发者工具 中文

WiiM

Control WiiM audio devices (play, pause, stop, next, prev, volume, mute, play URLs, presets). Use when the user wants to control music playback, adjust volume, discover WiiM/LinkPlay speakers on the network, or play audio from a URL on a WiiM device.
控制WiiM音频设备(播放、暂停、停止、上下曲、音量、静音、播放URL及预设)。适用于控制音乐播放、调节音量、发现网络中的WiiM/LinkPlay扬声器,或在WiiM设备上播放URL音频。
geodeterra geodeterra 来源
开发者工具 clawhub v0.1.1 1 版本 99934.1 Key: 无需
★ 3
Stars
📥 1,456
下载
💾 23
安装
1
版本
#latest

概述

WiiM CLI

Control WiiM and LinkPlay audio devices from the command line.

Installation

# Install globally
uv tool install wiim-cli

# Or run directly without installing
uvx --from wiim-cli wiim --help

Requires Python >=3.11.

Quick Reference

All commands accept --host to target a specific device. If omitted and only one device is on the network, it auto-discovers.

Discovery

wiim discover                    # Find devices on the network

Playback

wiim status                      # Show what's playing
wiim play                        # Resume
wiim pause                       # Pause
wiim stop                        # Stop
wiim next                        # Next track
wiim prev                        # Previous track
wiim seek 90                     # Seek to 1:30
wiim shuffle true                # Enable shuffle

Volume

wiim volume                      # Show current volume
wiim volume 50                   # Set to 50%
wiim mute                        # Mute
wiim unmute                      # Unmute

Play Media

wiim play-url "https://example.com/stream.mp3"     # Play a URL
wiim play-preset 1                                   # Play saved preset #1

Notes

  • The WiiM must be on the same local network as the machine running the CLI.
  • Discovery uses SSDP/UPnP — may not work across subnets/VLANs.
  • Spotify, AirPlay, and other streaming services are controlled from their own apps. Once playing on the WiiM, this CLI can pause/play/skip/adjust volume.
  • play-url works with direct audio URLs (MP3, FLAC, M3U streams, etc.).

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-28 23:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 329 📥 92,581
life-service

Strava CLI

geodeterra
通过 strava-client-cli Python 工具与 Strava 交互,用于查看活动、运动员资料、统计数据及导出数据。内容涵盖设置(创建 Strava 账户、API 应用及 OAuth)及所有 CLI 命令。
★ 0 📥 1,044
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 214 📥 46,216