danielfm / smudge

Control the Spotify app from within Emacs.
https://asciinema.org/a/218654
GNU General Public License v3.0
317 stars 47 forks source link

URL redirection fails #91

Closed twilight1794 closed 12 months ago

twilight1794 commented 1 year ago

Hi. When I do M-x global-smudge-remote-mode, my browser returns this error: INVALID_CLIENT: Invalid redirect URI. I already set my client and secret ids in the Emacs config, and set the callback URI in the Spotify app.

nolovelost commented 1 year ago

This is occurring on my side as well. Set the ids and port as advised on the readme but the browser returns INVALID_CLIENT: Invalid redirect URI when I do M-x global-smudge-remote-mode. Maybe spotify changed third-party permissions or something?

nolovelost commented 1 year ago

Found the problem. URI on README.md is correct: http://localhost:8080/smudge-api-callback but over on melpa and .el itself the URI is written as http://localhost:8080/smudge-callback which is incorrect.

Asides I'm encountering weird things like the minor mode specifies song as paused when it's playing and vice-versa. Cannot start first playback from outside of smudge defined major modes like `Track-Search`. ~~Most annoyingly, none of the keybindings seem to work.~~(need to define keys manually and all's fine). Can control my running spotify instance w/o problem however.
danielfm commented 12 months ago

I can't reproduce the error via the package installed from MELPA.