qrpike / spotify-playlist-downloader

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

Error downloading in Windows #33

Open BrodaNoel opened 8 years ago

BrodaNoel commented 8 years ago

I'm running: ´spd -u brodanoel -p *\ -l spotify:user:brodanoel:playlist:0G4YSmvA3uBH3maNqfhRHn`

Here the log:

Downloader App Started..
 - Getting Playlist Data
 - Got Playlist: Training - Maquinas
 - Processing 41 Tracks
c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js:1987
                            throw(e);
                            ^

Error: Illegal value for Message.Field .spotify.metadata.proto.Restriction.catalogue: 4 (not a valid enum value)
  at [object Object].ProtoBuf.Reflect.Field.verifyValue (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf
js:2321:27)
  at [object Object].Message.add (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js:1693:53)
  at [object Object].ProtoBuf.Reflect.Message.decode (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js
2137:29)
  at [object Object].ProtoBuf.Reflect.Field.decode (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js:2
94:46)
  at [object Object].ProtoBuf.Reflect.Message.decode (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js
2137:51)
  at Message.decode (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\protobufjs\ProtoBuf.js:1982:41)
  at Function.protobufjs_parse_wrapper [as parse] (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\schemas.js:98:39)
  at Spotify._parse (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:1288:20)
  at parseData (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:592:18)
  at Spotify.<anonymous> (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:652:16)
  at fn (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:396:10)
  at Spotify._onmessage (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:412:5)
  at emitTwo (events.js:87:13)
  at WebSocket.emit (events.js:172:7)
  at Receiver.self._receiver.ontext (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\ws\lib\WebSocket.js:682:10)
  at Receiver.opcodes.1.finish (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\ws\lib\Receiver.js:391:14)
  at Receiver.expectHandler (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\ws\lib\Receiver.js:378:31)
  at Receiver.add (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\ws\lib\Receiver.js:87:24)
  at TLSSocket.firstHandler (c:\Users\Noel\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\node_modules\ws\lib\WebSocket.js:663:22)
  at emitOne (events.js:77:13)
  at TLSSocket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at TLSSocket.Readable.push (_stream_readable.js:110:10)
  at TLSWrap.onread (net.js:523:20)