
This is always good practice, as it keeps one project's dependencies from interfering with another.

The API is python (yessss), so we'll make a virtual environment for playing with the API. There exists this unofficial API, which we might be able to use. That seems about right for Google, which is making all the same mistakes that Microsoft did back in the 90s.Īnyway, I digress. What's more is it doesn't seem to have any API of its own - the YouTube API is basically also its API, maybe. YouTube Music doesn't appear to offer any sort of convenient import function. Let's take a look at what formats YouTube Music accepts for import. The CSVs are full of all sorts of spotify-specific data that we probably don't need. I grabbed my liked songs and a couple other playlists. Okay, after logging into my Spotify account via exportify, I get a list of all my playlists.

While this is basically the same setup as the third party web apps I detest, I have a lot more trust in the open source community than I do random results from Google. We could download their source and try to make it run, but it looks like the developer hosts the webapp here. CSVs are easy to work with, so we should be able to take this data and import it into YouTube music, even if we have to do a little massaging to make it the right format. There's this project, exportify, that exports playlists from Spotify into CSV format. But this seems like something a lot of people would find useful - which makes it super likely someone in the open source community has already done something like it. Building a tool to do this from scratch wouldn't take too long, probably. They're accessing the Spotify and YouTube developer APIs to grab data from one account and shove it into the other. The good news is these webapp services aren't doing anything that we can't do ourselves. And if you've read any of my other posts, you probably know how much this irks me. The service is free, so I'd put money on them scraping your accounts for metadata they can sell. sketchy, though - you're essentially giving that site your logins/auth tokens for your music accounts. You just log into your Spotify and YouTube accounts through their webapp and away you go.

What a conundrum.ĭoing a quick search, there are plenty of third-party apps that purport to transfer your playlists for you. so, it's a bit silly for me to keep shelling out $$ to Spotify each month. But, YouTube music comes free with my YouTube premium subscription. I'm loathe to move off the platform and start over with another platform. I have a collection of carefully curated playlists and liked music. So I've been using Spotify for some years now.
