qrpike / spotify-playlist-downloader

Download an entire spotify playlist ( FROM SPOTIFY at 160kpbs ) to your local machine.
292 stars 111 forks source link

connect ECONNREFUSED #8

Closed arall closed 9 years ago

arall commented 9 years ago

I get this error when I try to run the example:

spd -u myUsername -p myPassword -l spotify:user:spotify:playlist:06KmJWiQhL0XiV6QQAHsmw
Downloader App Started..
Error logging in... (Error: connect ECONNREFUSED)
watsonbox commented 9 years ago

Same here on both OSX 10.9.5 and 10.10.3.

gtothesquare commented 9 years ago

Well, the problem is not with this module but with https://github.com/TooTallNate/node-spotify-web . I tried authenticating with spotify-web and I get the ECONNREFUED error. My guess is that they changed something with the protocol and requires some token.

gtothesquare commented 9 years ago

or regarding this issue report https://github.com/TooTallNate/node-spotify-web/issues/107

gtothesquare commented 9 years ago

@watsonbox @arall Ok found the problem, currently this only works with node 10.x (i tested it with node v0.10.36). If you upgrade your node instalation to 0.12.x then I suggest you install nvm have multiple version of node.

Once installed make the switch to 0.10.36 using nvm and then unistall spotify-playlist-downloader global package. Now install again with. This last part is important because the package will be installed using node 10, if not the proto thingy will not work correctly.

arall commented 9 years ago

Perfect, it works fine now. Thanks @gtothesquare

tristankirkpatrick commented 9 years ago

@gtothesquare Is yours still working. I'm having problems, even when I have reinstalled 0.10.36 with nvm.. spotifydownloads bash 92x34

gtothesquare commented 9 years ago

@tristan1990 yeah still working. However I saw from your other comment you figured it out ?

tristankirkpatrick commented 9 years ago

@gtothesquare Yes, all figured out. I had to install FFPEG. Is the limit set to 100 tracks by the Spotify API?

Thanks

gtothesquare commented 9 years ago

Cool. That I don't know off. Might be a song that is your problem :)

gtothesquare commented 9 years ago

@arall can you close this issue?