A set of JavaScript functions and a web component to help convert the tracks in a Spotify playlist to YouTube videos, and optionally move them to Radio4000 as well.
- Input a Spotify playlist URL (limit 500 tracks)
- Allow the tool to search for possible matching YouTube videos
- Select the matches you want
- Export to text or json
- Optionally sign in and import tracks to Radio4000
Try it out on https://spotify-youtube.0sk.ar/
Questions? Come chat https://matrix.to/#/#radio4000:matrix.org
- The tool is made with web components and uses vite as build system.
- The
mainbranch auto-deploys via GitHub pages. - It reads data from Spotify and YouTube via https://github.com/radio4000/media-now-deno
- It inserts data into Radio4000 using https://github.com/radio4000/sdk
graph TD
url[Spotify Playlist URL] -->|parse string| id[Playlist ID]
-->|Spotify API| playlist[Playlist with tracks] -->|YouTube API| searchResults[Find matching YouTube videos]
-->|UI component| matches{Select best matches} -.-> r4[Optional import to Radio4000]