Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always wanted a local script that would back up all the playlists automatically (instead of having to copy-paste things manually like you can do now), and be able to run it whenever you want to back it up. I don't even care about restoring, I just want to keep my playlist info in any plaintext format so that if Spotify disappears or I leave, I can still have the playlist info and rebuild them elsewhere.

Does this exist, or would I have to hack my own script together?



You could probably use this project as a starting point if you were going to make one! Look at

- api.coffee[1] for what internal API we're using

- spotify.coffee[2] for what Spotify end points we're using

[1]: https://github.com/jez/tunemachine/blob/master/routes/api.co... [2]: https://github.com/jez/tunemachine/blob/master/spotify.coffe...


I used this recently when exporting my Spotify playlists for my switch to Apple Music. It worked pretty well. You still need to copy and paste but it grabs all the correct information for each track.

https://github.com/jlund/spotify-export/


I have a (really quite crufty) project that exports Spotify playlists (but not STARRED) to XSPF file format.

https://github.com/rjp/spotify-playlists

WFM, YMMV, Caveat Emptor, etc.


I know this isn't a terribly helpful reply without more detail, but if you're going to hack your own script together, and you're using the Linux native version of the Spotify client, you ought to be able to get all of your playlist information out using dmesg. (The Linux client is quite nice!)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: