← 返回
效率工具

Spotify

Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
在 macOS 上控制 Spotify 播放:播放/暂停、跳过曲目、调节音量、播放艺人/专辑/播放列表。适用于用户请求播放音乐、控制 Spotify、切换歌曲或调节 Spotify 音量。
2mawi2
效率工具 clawhub v1.0.0 1 版本 98809.4 Key: 无需
★ 9
Stars
📥 7,538
下载
💾 1,023
安装
1
版本
#latest

概述

Spotify CLI

Control Spotify on macOS. No API key required.

Commands

spotify play                     # Resume
spotify pause                    # Pause/toggle
spotify next                     # Next track
spotify prev                     # Previous track
spotify stop                     # Stop

spotify vol up                   # +10%
spotify vol down                 # -10%
spotify vol 50                   # Set to 50%

spotify status                   # Current track info

Play by Name

  1. Search web for Spotify URL: "Daft Punk" site:open.spotify.com
  2. Get ID from URL: open.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi → ID is 4tZwfgrHOc3mvqYlEYSvVi
  3. Play with AppleScript:
# Artist
osascript -e 'tell application "Spotify" to play track "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi"'

# Album
osascript -e 'tell application "Spotify" to play track "spotify:album:4m2880jivSbbyEGAKfITCa"'

# Track
osascript -e 'tell application "Spotify" to play track "spotify:track:2KHRENHQzTIQ001nlP9Gdc"'

Notes

  • macOS only - uses AppleScript
  • Spotify desktop app must be running
  • Works with Sonos via Spotify Connect

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-27 23:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,164
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,101
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,719