Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exportify 'Export All' not working #56

Closed
blueIndie opened this issue Mar 19, 2019 · 10 comments
Closed

Exportify 'Export All' not working #56

blueIndie opened this issue Mar 19, 2019 · 10 comments

Comments

@blueIndie
Copy link

blueIndie commented Mar 19, 2019

I use Exportify thankfully to back up a large number of playlists off Spotify so I need to use the 'Export All' option otherwise it's tedious and takes a long time to export singly.

When I hit the 'Export All' button nothing happens at all.

I use the latest version of Chrome (Also happens in Opera and Firefox) on Win 10.

Any ideas?

@ocram
Copy link
Contributor

ocram commented Mar 25, 2019

It seems that the fix from this pull request may have to be applied in the PlaylistsExporter as well.

Until this is fixed, you can find a working version in our fork.

@sunscreem
Copy link

Hey @ocram - thank you .. works a treat :)

@shape55
Copy link

shape55 commented Jun 1, 2019

@ocram – Thanks, but unfortunately I'm still getting the "Oops, Exportify has encountered a rate limiting error while using the Spotify API..." notification. I do have 469 playlists though. Isn't there a way to get it to return more than 50 playlists?

The SpotMyBackup app loads all playlists but it's a bit buggy, and when it does download it's a single json file that doesn't contain all the separated tracklist/playlist columns the way the Exportify csv file does. https://github.com/secuvera/SpotMyBackup

There's also tunemymusic.com which can export a lot more than 50 playlists.

On another note, there is 1 playlist out of 469 that won't download for some reason when using the single Export button, and I've tried using 3 different Exportify forks on both Firefox & Chrome. It can't be b/c there's too many tracks since there is another playlist that has even more tracks that downloads fine. I'm wondering if it's b/c of a special character. It's the only playlist that has music notes in the title, but plenty of other playlists have different special characters.

@ocram
Copy link
Contributor

ocram commented Jun 2, 2019

@sunscreem Thanks for your appreciation!

@shape55 Thanks! If you encounter problems with rate limiting, the README suggests you should create your own Spotify API application and use the credentials from that application instead. If, after that, you still have problems, you may find this issue helpful. Finally, you can export all your 469 playlists one by one, which should work (but takes time, of course). As for the playlist that doesn’t export, you can either use the developer tools of your browser and find the problem with the JavaScript debugger, or you may share a playlist that doesn’t work so that somebody else can reproduce this.

@shape55
Copy link

shape55 commented Jun 3, 2019

Thanks – yes, I did see the note on creating your own Spotify API application before, but figured this required coding knowledge, of which I have none. I just created it, however, and had no idea it was this simplistic. I'm still getting the same API rate limiting error when using "Export All" though.

I checked out the issue you linked. Is there a modified Exportify version I could try, or does this require me to do my own coding? As far as total track count, I have over 72,000. I got this number from tunemymusic.com. Also, SpotMyBackup & Backify return the total # of tracks, though for me they don't load all of them (they were a couple thousand short).

The one by one export does work, but it takes forever and isn't practical, especially when there is no sortable column for "Last Updated" (or something to this effect), which would allow you to know the date each playlist was updated, therefore needing to export only the ones that have changed since your last backup. This would be a very helpful feature, especially since the "Export All" function doesn't work for anyone with more than 50 playlists. Making the existing columns sortable would be highly useful as well.

Regarding the sole playlist that I can't get to export, here is the link if you want to see if it's reproducible on your end. Note, this is a playlist I subscribed to, not one that I created: spotify:playlist:53eljwwaQQhi93Zbet44si

This is the error I get in the Firefox Browser Console after clicking the Export button for this playlist, but if I try it with my own, newly created app version it gives me the rate limiting error.

TypeError: item.track is null exportify.html:339:13 tracks https://rawgit.com/delight-im/exportify/master/exportify.html#access_token=BQDooptMSbHmO8oixsRcFhWPYvHVNY-esEo0adUvcu4PuwNzZUCFMg5a1do7ZnmQ4JBdV2nDgsBz4xleWykIKK8Vdm7OhwlY_lKakcdFEWibCtqXVNzh03hZRDzqQ1WW7kplLOdS_R7CPhwvwDkBVnNs_XRC5TTE60OJ&token_type=Bearer&expires_in=3600 line 184 > scriptElement:339 map self-hosted:286 tracks https://rawgit.com/delight-im/exportify/master/exportify.html#access_token=BQDooptMSbHmO8oixsRcFhWPYvHVNY-esEo0adUvcu4PuwNzZUCFMg5a1do7ZnmQ4JBdV2nDgsBz4xleWykIKK8Vdm7OhwlY_lKakcdFEWibCtqXVNzh03hZRDzqQ1WW7kplLOdS_R7CPhwvwDkBVnNs_XRC5TTE60OJ&token_type=Bearer&expires_in=3600 line 184 > scriptElement:337 map self-hosted:286 csvData https://rawgit.com/delight-im/exportify/master/exportify.html#access_token=BQDooptMSbHmO8oixsRcFhWPYvHVNY-esEo0adUvcu4PuwNzZUCFMg5a1do7ZnmQ4JBdV2nDgsBz4xleWykIKK8Vdm7OhwlY_lKakcdFEWibCtqXVNzh03hZRDzqQ1WW7kplLOdS_R7CPhwvwDkBVnNs_XRC5TTE60OJ&token_type=Bearer&expires_in=3600 line 184 > scriptElement:336 jQuery 8 then j fireWith h j fireWith x b

@shape55
Copy link

shape55 commented Jul 5, 2019

Regarding the playlist I was following that wouldn't export, the bug was identified here using Pavel Komarov's fork of Exportify. He figured out what was causing it and made some improvements to the Export All function.

Also, see his comments here about rate-limiting and using your own clientid.

@pavelkomarov
Copy link
Contributor

Yes, my version has working Export All functionality.

exportify.net

@watsonbox
Copy link
Owner

I'll look at the rate limiting topic in #12 and the export bug in #48. Thanks for the comments and sorry for the delay.

@shape55
Copy link

shape55 commented Feb 25, 2021

Is Export All supposed to work now? How many playlists has it been tested with? I tried it several times w/ 479 and I can't get it to complete the export. I don't see any error messages though – it seems to just reload the page by itself and I have to click the "Get Started" button again to retry.

@watsonbox
Copy link
Owner

Hi, thanks for the info!

I've tested it myself on ~100 playlists but rely on reports like these to spot problems for larger amounts. Before assuming it's the rate limiting I'd be interested in any more information you might have that could help me to debug, for example:

  • Are you using any of the "extra data" toggles? If you un-toggle them, does it work?
  • How long does the export run for before failing? Does it always fail in the same place? (roughly according to progress bar)
  • If you open up Chrome Developer Tools or equivalent in your browser, do you see any errors?

With such a large number of playlists, there's more chance of hitting a bug that's caused by some relatively rare issue with one of those playlists. Of course it's entirely possible that it's a rate limiting issue, but the way it's implemented (listening for and obeying wait signals from the server) doesn't seem especially likely to work better for smaller quantities of data than larger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants