adriancooney / polytunes

Liberate your music library.
38 stars 2 forks source link

[!] Error: Not Found #1

Open philgruneich opened 7 years ago

philgruneich commented 7 years ago

Hello, @adriancooney;

Thanks for the initiative and the effort doing this. I followed your guide from Medium, yet I'm failing in the last step:

When I run: polytunes import --from apple --to spotify --apple-library ~/Desktop/Library.xml, I get:

[*] Collecting libraries..
[*] Importing from your Apple library to your Spotify library.
[*] Importing Apple playlist: 'Library'
[!] Error: Not Found

I have no idea how to proceed now.

adriancooney commented 7 years ago

Weird. Looks that could be an API response but I'm not sure yet. In the meantime, could you run the same command but with the DEBUG environment variable to library:* and post the output here.

$ DEBUG=library:* polytunes import --from apple --to spotify --apple-library ~/Desktop/Library.xml
philgruneich commented 7 years ago

It seems to break in the first track of the library, after uploading the playlists:

I'm skipping lots of "library:apple Adding track X to playlist Y +Zms".


  library:apple Adding track 9480 to playlist Weezer: Influences +0ms
  library:apple Adding track 11306 to playlist Weezer: Influences +0ms
  library:apple Adding track 11692 to playlist Weezer: Influences +0ms
[*] Importing from your Apple library to your Spotify library.
  library:importer Import Apple library to Spotify. +2s
  library:importer Importing playlist 'Library' to Spotify library (3090 tracks). +3ms
[*] Importing Apple playlist: 'Library'
  library:spotify Getting tracks for Library playlist (5FppJdkDvG1ZqOfjd7VL5I). +1ms
  library:spotify Getting tracks from Library playlist (5FppJdkDvG1ZqOfjd7VL5I) with limit = 100, offset = 0. +0ms
  library:spotify Playlist Library has 0 tracks (0 pages) +682ms
  library:spotify Got 0 of 0 tracks for Library playlist (5FppJdkDvG1ZqOfjd7VL5I). +0ms
  library:importer Importing track '+81' to Spotify playlist 'Library'. +288ms
  library:spotify Searching for track '+81' by Deerhoof. +0ms
[!] Error: Not Found
  library:logger undefined +875ms
```