Lautaro-Garcia / counsel-spotify

Control Spotify App through Emacs
GNU General Public License v3.0
59 stars 8 forks source link

Error when trying to search from emacs. #3

Closed xqliu closed 5 years ago

xqliu commented 6 years ago

Dear,

Thanks for this great plugin, the control play, pause, next etc working like a charming,

But when tried to search in Emacs, by invoke cunsel-spotify-search-track etc,

It always shows

helm-M-x: make client process failed: Connection refused, :name, accounts.spotify.com, :buffer, #, :host, 127.0.0.1, :service, 6152, :nowait, nil, :tls-parameters, nil

I can confirm that the client security and client Id setting is correct.

Could you please help to investigate what's wrong on my side?

Related setting is quite simple as below

;;spotify configs
(require 'counsel-spotify)
(setq counsel-spotify-client-id "fae6e6ef787743fea5b649117d9a9b2a")
(setq counsel-spotify-client-secret "7a6b41fdd292498c9ca65a3484f12090")
(global-set-key (kbd "C-c s f") 'counsel-spotify-next)
(global-set-key (kbd "C-c s b") 'counsel-spotify-previous)
(global-set-key (kbd "C-c s p") 'counsel-spotify-toggle-play-pause) 

Thanks for the help :)

Lautaro-Garcia commented 6 years ago

Hey! I'm glad you find it useful! I just checked out with my credentials and I could make a search by track without problems. I'll try with your credentials next to see if there is a problem with them. Could you tell me in which OS are you working on? OSx, Linux or Windows? Also, which version of Emacs are you running?

Lautaro-Garcia commented 6 years ago

I tried with your credentials and everything went ok. Are you behind some kind of firewall, proxy, VPN or something like that? Can you navigate to https://accounts.spotify.com correctly in the same computer that you're trying to search tracks in Emacs? This error also appears when you search for albums or artists as well?

Sorry for the inquisition, but it will help me to reproduce the error, fix it and get you to browse Spotify from Emacs in no time :muscle:

xqliu commented 6 years ago

Dear

Thanks for the kind reply.

I am using 10.13.6 macOS

And running in spacemacs under emacs 26.1.

I will try again in my home computer which also runs 26.1 emacs + macOS 10.13.6.

Thanks again for the help.

On Fri, Jul 27, 2018 at 9:23 PM Lautaro-Garcia notifications@github.com wrote:

Hey! I'm glad you find it useful! I just checked out with my credentials and I could make a search by track without problems. I'll try with your credentials next to see if there is a problem with them. Could you tell me in which OS are you working on? OSx, Linux or Windows? Also, which version of Emacs are you running?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lautaro-Garcia/counsel-spotify/issues/3#issuecomment-408417059, or mute the thread https://github.com/notifications/unsubscribe-auth/AABYGoxD-iDj7YVviWyJHH7G7Q39qUMxks5uKxRQgaJpZM4Vaijc .

-- Best Regards Lawrence

Lautaro-Garcia commented 5 years ago

I hope you did make the package work for you in your other computer. I will close this issue now because it's pretty old, but if you're still fighting to make counsel-spotify work, re-open this issue and we'll take a look together

xqliu commented 5 years ago

Dear,

That's a config error on my emacs configuration. I have fixed it.

Thanks :)