Export Playlist / Backup

Solved!
Reply

Export Playlist / Backup

Concert Regular
‎2013-04-18 03:49 AM

I didn't want to put this in the New Idea section, as I am not really suggesting a new idea.

 

I started deleting a lot of the mp3s off of my computer in favor of just listening to the same songs over Spotify.  I needed the extra hard drive space because I still have a Windows XP computer.

 

I have no use for listening to music offline as I only have a desktop computer and can't currently even burn CDs with this lousy PC.  I can't afford Spotify Premium anyway and have no devices to listen to it on.

 

I wanted to know if there was any way to make a backup of the Spotify playlists.  I was thinking of a simple playlist file that could be exported to your computer as backup.  I have noticed a lot topics on here having to do with playlists accidentally being deleted or disappearing and it has made me nervous.  I don't want that to happen to me now that I have begun migrating to Spotify and away from mp3s.

 

 

8 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Export Playlist / Backup

Edited
Concert Regular
‎2014-06-17 08:41 PM

Another option is an app I threw together that allows you to save playlists as csv (which you can open in excel):

 

http://joellehman.com/playlist/

Re: Export Playlist / Backup

Roadie
‎2015-04-02 04:23 PM

We loved Joels Script. And we extended it, because we needed to not just export, but migrate all Playlists and MyMusic from one account to another.

 

At http://www.spotmybackup.com/ (all Javascript, the servers knows nothing about you) you can backup your playlists and My Music in one file. If you ever want to migrate those playlists to another account, go there again and import the Backup File. It will generate all playlists and My Music, even in the right order.If you interupt the process, just start again. It will be resumed.

 

Please note: Starred playlists are not supported by the WebAPI. Your starred playlist will be named "importedStarred". But you can drag & drop to the starred playlist in the Fatclient.


Of course the source is available at Github. Hope you enjoy it.

Re: Export Playlist / Backup

Edited
Concert VIP
‎2015-04-07 07:38 AM

https://github.com/bitsofpancake/spotify-backup is yet another Spotify playlists backup tool.

It provides a Python script file to download and run locally.  Like http://www.spotmybackup.com/, it creates a .JSON dump of all the playlists; both spotify-backup.py and SpotMyBackup without folder data, unfortunately;  and at least spotify-backup.py also without collaborative playlists (don't know for SpotMyBackup).

 

(I stumbled over spotify-backup.py while googling.  I haven't tried it.)

 

Note that principally downloading and running a script (or other executable program) outside the browser poses a much bigger security risk (depending on your trust in the source) than applications that run within the browser.  But since spotify-backup.py is just 160 lines of open source code, it seems very unlikely that it would contain malicious code, b/c everyone can check it and report it to the GitHub administration.

 

In conclusion, I recommend http://www.spotmybackup.com/ for backing up all playlists in a file, mostly because it's less effort than spotify-backup.py.

Re: Export Playlist / Backup

Concert Regular
‎2015-05-18 12:51 PM

I've written a simple tool to make this easier:

 

https://github.com/watsonbox/exportify

 

It uses the Spotify Web API to export playlists to CSV format and will not store any private data (or any data at all in fact).

Re: Export Playlist / Backup

Rock Star
‎2016-03-23 10:19 PM

I use Exportify, and it's great.

 

https://rawgit.com/watsonbox/exportify/master/exportify.html


If this solved your issue - Please accept as solution.
If this post is useful - Please add a Like.
Would you like a 'screen always on' option in Mobile?

Last.FM | Snapchat | My playlists

Re: Export Playlist / Backup

Roadie
‎2016-11-08 01:39 PM
I think spotify has a limit on how many results you receive per request. You should see the range you received if you look at the url string in the response. There should be some offset and limit parameters at the end.
Change the url in the code i send you to something like
'https://api.spotify.com/v1/users/' + userId + '/playlists?offset=0&limit=50'
And do multiple request like
'https://api.spotify.com/v1/users/' + userId + '/playlists?offset=50&limit=50'
'https://api.spotify.com/v1/users/' + userId + '/playlists?offset=100&limit=50'
until you have all results.

I hope this helps!

Re: Export Playlist / Backup

Music Lover
‎2016-11-08 01:44 PM

For the formatting you have to change the "console.log(item.href);" line to console.log("spotify:user:"+userId+":playlist:"+item.id);

Re: Export Playlist / Backup

Roadie
‎2016-11-09 12:47 PM
The name should be stored in the name property. So try item.name, i'm sure you figure out how to output it using the code you already have. ;)
81 Replies

Re: Export Playlist / Backup

Community Legend
‎2013-04-18 09:26 PM

Hey! Welcome to the community :) 

 

When Spotify playlists get deleted from accounts, they never really get deleted they just get removed from being displayed on your account. With that in mind, if you save the links to all of your playlists (Right click on playlist name > Copy Spotify URI) and keep them in a text file, if a playlist ever goes missing you can just copy that URI into the main search box and your playlist will appear ;) 

 

Peter

Peter
Spotify Community Mentor and Troubleshooter

Spotify Last.FM Twitter LinkedIn Meet Peter Rock Star Jam 2014


If this post was helpful, please add kudos below!

Re: Export Playlist / Backup

Concert Regular
‎2013-04-18 11:06 PM

Good to know.

 

Thanks for the info.

Re: Export Playlist / Backup

Edited
Signed Artist
‎2013-04-19 01:09 AM

You can also drag them right into an Excel spreadsheet.  Makes them easy to sort.  No right-clicking or pasting.  Easy and fast.

Re: Export Playlist / Backup

Concert Regular
‎2013-07-22 04:01 PM

Drag and drop from Spotify app to Excel 2010 does NOT work for me.

Re: Export Playlist / Backup

Edited
Community Legend
‎2013-07-22 04:09 PM

I think Rollo meant dragging the tracks within a playlist to excel.

 

I'm just wondering if this is necessary with playlists you have made public since you can always find them again on spotify. All you might want to do is to save the playlist links themselves. Drag each playlist to a text file in notepad++ or other decent text editor and save it as myplaylists.html or something.

Joe
I don't work for Spotify, I'm just here for the beer music

Check out my collaborative audiobook playlist

Re: Export Playlist / Backup

Edited
Signed Artist
‎2013-07-23 12:44 PM
jwylot wrote:
I think Rollo meant dragging the tracks within a playlist to excel.

Nope.  Drag the playlist title into an Excel cell.  Excel will show the playlist title, but if you hover your mouse pointer over the cell, you'll see the embadded http link.  Its clickable and Spotify will open it, even if Spotify is not running.  Spotify version 0.8.3 and 0.9.1.57 with Excel 2007, both working.  AFAIK, there is little funcionality difference between Office 2007 and 2010, though I might be able to confirm that.

 

Be sure to first click on the playlist title so that it's selected, then drag it.  If its not fully selected, it won't drag.

Re: Export Playlist / Backup

Community Legend
‎2013-07-23 03:07 PM

Heh, for some reason it didn't work when I tried quickly but you're right - it does work with Excel 2010 too :)

Joe
I don't work for Spotify, I'm just here for the beer music

Check out my collaborative audiobook playlist

Re: Export Playlist / Backup

Signed Artist
‎2013-07-23 04:22 PM

I've found this to be the only way to back up the playlist location while still showing the playlist name.  The http link doesn't tell you a thing about the playlist, other than its web address.

 

I keep all my playlists alphabetized and sorted by genre in Excel, and its simple.  Someone ought to try doing the same thing in Open Office, since its freeware.

Re: Export Playlist / Backup

Concert Regular
‎2013-11-16 03:43 PM

None of these are really solutions for exporting playlists.  What people want is to be able to export all their playlists, each list with all songs/data listed.  HTTP link is useless for importing into another player, program.  Ideal is an XLS export that has playlist names as column headers, and song info in various cells.

 

Anyone?

SUGGESTED POSTS