← Commit history

Publish 0.3.0

Kyle Bergstedt ·6ecd974ac8 · ·parent f849e20
6 files changed +22−15
README.md+4−3
@@ -5,6 +5,7 @@ Your AI can now work with your music on your Mac. It can see what's in your Spot **Try asking your AI:** - *"Import all my Spotify playlists to YouTube Music."* - *"What's in my 'focus' playlist on Spotify?"*+- *"Copy this playlist to my YouTube Music: https://open.spotify.com/playlist/…"* - *"Find 'Midnight City' by M83 on YouTube Music."* - *"How many of my Spotify songs can you find on YouTube Music? Don't change anything."* @@ -13,12 +14,12 @@ Your AI can now work with your music on your Mac. It can see what's in your Spot | | Spotify | YouTube Music | |---|---|---| | List your playlists | ✓ (with folders) | ✓ |-| Read a playlist's songs | ✓ | – |+| Read a playlist's or album's songs | ✓ (any link: saving it isn't needed) | – | | Search | – | ✓ (songs or videos) | | Create a playlist | – | ✓ (private by default) | | Delete anything | **never** | **never** | -**Copying playlists from Spotify to YouTube Music** works by matching every song on title, artists and length. It prefers the official track over lyric videos, covers, remixes and live versions. You get a report with each new playlist's link, the songs it wasn't sure about, and the ones it couldn't find. A dry run shows the matches without writing anything, and a run that's interrupted picks up where it stopped.+**Copying playlists from Spotify to YouTube Music** works for your own playlists, or for any playlist or album link, even one you haven't saved. It matches every song on title, artists and length. It prefers the official track over lyric videos, covers, remixes and live versions. You get a report with each new playlist's link, the songs it wasn't sure about, and the ones it couldn't find. A dry run shows the matches without writing anything, and a run that's interrupted picks up where it stopped.  **Your playlists are safe.** Spotify is read-only. In YouTube Music the bridge only creates new playlists and adds songs to playlists it made itself. Nothing is ever deleted, renamed or reordered. @@ -50,7 +51,7 @@ adom-wiki pkg install kyle/spotify-ytmusic-bridge |---|---| | `music_readiness` | Check Spotify, the Chrome profile and the extension (read-only) | | `music_spotify_connect` | Connect to the signed-in Spotify app |-| `music_spotify_playlists` / `music_spotify_tracks` | Your Spotify playlists and their songs |+| `music_spotify_playlists` / `music_spotify_tracks` | Your Spotify playlists, and the songs in any playlist or album (by name or link) | | `music_ytmusic_playlists` / `music_ytmusic_search` | Your YouTube Music playlists, and search | | `music_transfer` | Copy Spotify playlists into new YouTube Music playlists (`dryRun`, `playlists`, `includeFollowed`, `privacy`) | | `music_status` / `music_report` / `music_cancel` | Follow, review and stop a copy |
SKILL.md+9−4
@@ -1,5 +1,5 @@ ----name: spotify-ytmusic+name: spotify-ytmusic-bridge description: "Drive Spotify and YouTube Music on the user's Mac through the Spotify + YouTube Music bridge (music_* verbs on Adom Bridge): list Spotify playlists and their songs from the signed-in Spotify desktop app (read-only), search YouTube Music and list its playlists in the user's real signed-in Chrome, and copy Spotify playlists into new YouTube Music playlists with song matching. Nothing is ever deleted. Trigger words: spotify, youtube music, yt music, my spotify playlists, what's in my playlist, search youtube music, import spotify playlists to youtube music, move my playlists to youtube music, switch from spotify, music_transfer, music_spotify_playlists, music_ytmusic_search." user-invocable: true ---@@ -39,7 +39,7 @@ Always start with **`music_readiness`**. It's read-only, and its `nextSteps` say | `music_readiness` | Read-only check of Spotify, the YouTube Music Chrome profile and the extension | `ytProfile?` | | `music_spotify_connect` | Connect to the signed-in Spotify app | `restart?` (ask first) | | `music_spotify_playlists` | The Spotify library: name, track count, folder, `kind` (`mine`, `collaborative`, `followed`, `spotify-made`) | `refresh?` |-| `music_spotify_tracks` | The songs in one Spotify playlist (title, artists, album, length, ISRC) | `playlist`, `limit?` |+| `music_spotify_tracks` | The songs in a Spotify playlist or album (title, artists, album, length, ISRC). Takes a saved playlist's name, **or any Spotify link**, saved or not | `playlist` (name, id, or `open.spotify.com/playlist/…` / `/album/…` link), `limit?` | | `music_ytmusic_playlists` | The YouTube Music library playlists | `ytProfile?` | | `music_ytmusic_search` | Search YouTube Music songs (or videos) | `query` or `queries[]`, `videos?` | | `music_transfer` | Background job that copies Spotify playlists into new YouTube Music playlists | see below |@@ -51,7 +51,9 @@ Always start with **`music_readiness`**. It's read-only, and its `nextSteps` say 1. `music_readiness`, then `music_spotify_connect`. 2. `music_spotify_playlists`: **show the user the summary and ask which set to copy.** The default    is the user's own and collaborative playlists. `includeFollowed` and `includeSpotifyMade` add-   the other kinds, and `playlists:[names or ids]` picks specific ones.+   the other kinds, and `playlists:[...]` picks specific ones. Entries can be saved-playlist names or ids, or+   **any Spotify playlist or album link**: the user doesn't have to save it first. Public playlists, ones shared+   with the user, and albums all work. 3. For a big library, run `music_transfer {"dryRun":true}` and then `music_report` first. That    shows the match quality and writes nothing. 4. `music_transfer {...}` returns a `jobId`. It runs at about 30 songs per 15 s. New playlists are@@ -67,7 +69,10 @@ remixes and live versions, and it won't treat "Song 2" or "Song (Instrumental)"  - **Resumable.** Rerunning `music_transfer` skips finished playlists and continues a half-done one.   The state lives in `~/.adom/spotify-ytmusic/` on the Mac.-- **Background.** The YouTube Music tab opens minimized in the user's Chrome; don't raise it.+- **Background, one window.** The bridge keeps a single minimized YouTube Music window in the user's Chrome, reuses it,+  and closes it after 2 minutes idle (or when a transfer ends). Don't raise it, and don't open your own.+- **Links.** A link someone pastes (`https://open.spotify.com/playlist/…?si=…`) can go straight into `music_spotify_tracks`+  or `music_transfer`. `spotify:album:…` URIs and bare ids work too. - **Testing.** Use `testPrefix:"[test] "` and `trackLimit`, so test playlists are obvious and the user can delete them. - **Not songs.** Podcast episodes are skipped. Local files are searched by their tags. Liked Songs isn't supported yet. - **`ok:true` isn't the finish line.** Check that `music_status.state` is `"done"`, and read the report, before telling the user it worked.
install.sh+5−4
@@ -1,12 +1,13 @@ #!/usr/bin/env bash-# Installs the spotify-ytmusic USER skill. The bridge runtime is not here: Adom Bridge installs it+# Installs the spotify-ytmusic-bridge USER skill. The bridge runtime is not here: Adom Bridge installs it # from the release zip (bridge_install with this page's manifest). set -e PKG_DIR="$(cd "$(dirname "$0")" && pwd)" deploy_into() {-  mkdir -p "$1/spotify-ytmusic"-  cp "$PKG_DIR/SKILL.md" "$1/spotify-ytmusic/SKILL.md"-  echo "  -> $1/spotify-ytmusic"+  rm -rf "$1/spotify-ytmusic"   # 0.2.0 installed a second copy under this name+  mkdir -p "$1/spotify-ytmusic-bridge"+  cp "$PKG_DIR/SKILL.md" "$1/spotify-ytmusic-bridge/SKILL.md"+  echo "  -> $1/spotify-ytmusic-bridge" } echo "Installing the Spotify + YouTube Music skill:" deploy_into "$HOME/.claude/skills"
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "spotify-ytmusic-bridge",   "name": "spotify-ytmusic-bridge",   "title": "Spotify + YouTube Music",-  "version": "0.2.0",+  "version": "0.3.0",   "type": "app",   "description": "An Adom Bridge bridge for your music on a Mac: read your Spotify library, search YouTube Music, and copy playlists from Spotify into YouTube Music, using the apps you're already signed in to. It never deletes anything. This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.",   "brief": "Your AI works with Spotify and YouTube Music on your Mac: browse, search, and move playlists. Never deletes anything.",
page.json+1−1
@@ -2,7 +2,7 @@   "slug": "spotify-ytmusic-bridge",   "name": "spotify-ytmusic-bridge",   "title": "Spotify + YouTube Music",-  "version": "0.2.0",+  "version": "0.3.0",   "type": "app",   "description": "An Adom Bridge bridge for your music on a Mac: read your Spotify library, search YouTube Music, and copy playlists from Spotify into YouTube Music, using the apps you're already signed in to. It never deletes anything. This package installs the bridge's SKILLS into your container so your AI knows how to drive it; Adom Bridge loads the bridge runtime itself from the release zip.",   "brief": "Your AI works with Spotify and YouTube Music on your Mac: browse, search, and move playlists. Never deletes anything.",
uninstall.sh+2−2
@@ -1,5 +1,5 @@ #!/usr/bin/env bash set -e-rm -rf "$HOME/.claude/skills/spotify-ytmusic"-[ -d "$HOME/.codex/skills" ] && rm -rf "$HOME/.codex/skills/spotify-ytmusic"+rm -rf "$HOME/.claude/skills/spotify-ytmusic-bridge"+[ -d "$HOME/.codex/skills" ] && rm -rf "$HOME/.codex/skills/spotify-ytmusic-bridge" echo "Removed the spotify-ytmusic skill."