Skip to main content

apple-music

Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
apple-music
description
Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.
metadata
{"thinkfleetbot":{"emoji":"🎵","os":["darwin"],"requires":{"bins":"[Truncated]"}}}
# Apple Music Control Apple Music via MusicKit API and AppleScript. Path: `~/.thinkfleetbot/skills/apple-music/` ## Local (No Setup) **Playback:** `./apple-music.sh player [now|play|pause|toggle|next|prev|shuffle|repeat|volume N|song "name"]` **AirPlay:** `./apple-music.sh airplay [list|select N|add N|remove N]` ## API (Setup Required) Requires Apple Developer account ($99/yr) + MusicKit key. ### Setup **Portal steps first:** 1. developer.apple.com → Keys → Create MusicKit key → Download .p8 2. Note your Key ID and Team ID **Then run setup:** ```bash ./launch-setup.sh # Opens Terminal for interactive setup ``` The launcher opens Terminal.app and runs the setup script there. Enter your .p8 path, Key ID, Team ID, then authorize in browser and paste the token. **⚠️ Agents:** Always use `./launch-setup.sh` to open Terminal. Don't run setup.sh through chat (requires interactive input). ### Commands - `search "query" [--type songs|albums|artists] [--limit N]` - `library add <song-id>` - `playlists [list|create "Name"|add <playlist-id> <song-id>]` ### Config `config.json` stores tokens (valid ~6 months). Re-run `./setup.sh` if auth fails. ### Errors - 401: Token expired, re-run setup - 403: Check Apple Music subscription - 404: Invalid ID or region-locked ### Setup Issues - **404 on auth page:** Setup script auto-fixes with HTTP server verification - **No token in browser:** Restart setup.sh - **Browser won't open:** Manually open printed URL (Chrome recommended)
GitHub에서 보기