chrippa / spotify-remote

A simple CLI to control the Spotify desktop client
26 stars 4 forks source link

Here are some errors #2

Open MasterCosma opened 9 years ago

MasterCosma commented 9 years ago

I found some problems in the execution of the code : -the "options" declarations in main() blocks the program which terminates without any result. -after removing the options declaration and doing everything manually, I get this error "Error : Unable to connect to client" -XDG_CACHE is not compatible with Windows as the path would be "C:\Users\User/.cache" which isn't valid. In any case good job, well structured and clear!

chrippa commented 9 years ago

-the "options" declarations in main() blocks the program which terminates without any result.

Works fine here, using docopt 0.6.2.

-after removing the options declaration and doing everything manually, I get this error "Error : Unable to connect to client"

Spotify has changed the protocol and ports used slightly, a9a31eb8a37e0d0cceefe82afece530237d3dc63 fixes it for me.

-XDG_CACHE is not compatible with Windows as the path would be "C:\Users\User/.cache" which isn't valid.

I added a check for Windows with d7a8f123b5aa0bef4fe56329c7169c9b5bbf16b8, I haven't tested it though.

tance77 commented 8 years ago

So was this issue ever resolved?