I created a Spotify to Plex playlist migrator using API's from Spotify and Plex (Free) reddit / selfhosted ---------------------------------------------------------------------- jimbob-2023 · 2023-10-03 17:56 Hey fellow music lovers! 🎵 Just whipped up this nifty script that's been a total game-changer for my Spotify x Plex setup. Ever wanted to sync up your Spotify playlists to Plex? This bad boy fetches your Spotify jams, checks if they're chilling on Plex, and if they're MIA, it downloads them and gives Plex a little nudge to update its tunes. No more manual playlist transfers! Plus, the error-handling and logging on this thing? Chef's kiss. 🍝 Check it out and let me know what you think! Key points: \- Uses Spotify API to search through playlists.json where you specify playlists to "Subscribe" to such as a daily mix, weekly, top hits etc. \- Uses Plex API to your server with a plex token to check for missing tracks \- Uses a command line of your choice to replace the missing tracks, adding them to plex and scanning the library via the API \- Uses Plex API to create a playlist matching the Spotify track list In my example, I use dfi as a command line to get/download the tracks, you can change line 193 to your favourite CLI tool for grabbing tracks, just ensure your executable is in the same folder as this repo. [https://github.com/jimbob-2023/spotify-to- plex/tree/main](https://github.com/jimbob-2023/spotify-to- plex/tree/main) Thanks! ---------------------------------------------------------------------- CosineTau · 2023-10-04 14:45 Nice