-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no applicable method: counsel-spotify-do-play #13
Comments
Hello! It seems somehow related with issue #12, the error seems to be the same. The offending function is I'm worried that, in a way, the Spotify API response has changed somehting slightly and Thank you! |
Thanks for looking into it!
1. The error pops up before any results are displayed.
2. The ivy version is 0.13.0, installed from melpa-stable.
Lautaro-Garcia <[email protected]> writes:
… Hello! It seems somehow related with issue #12, the error seems to be the same.
The offending function is `counsel-spotify-do-play` as it was asked to play `nil` (this is what I can interpret from the error above).
My question to you is, are you able to see the list of results, or the error pops up before you can even see them? Because that function only gets called when you actually want to play a thing (a song, an album, an artist or a playlist).
I'm worried that, in a way, the Spotify API response has changed somehting slightly and `counsel-spotify` isn't able to parse it quite right, so it ends up with a `nil` as a thing to play.
Another thing that could have changed is `ivy`, and the selection of an item is returning an empty thing, could you tell me what version of `ivy` are you currently using?
Thank you!
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#13 (comment)
|
Sorry fo the delay, I can't seem to reproduce this case. Reading your issue description again, I noticed that I'm running an older version of Emacs (everything else is the same, I'm assuming you have the latest version of A quick hack you could use, as I keep in my quest of finding this bug is actually defining a method for (cl-defmethod counsel-spotify-do-play ((backend counsel-spotify-linux-backend) (something (eql nil)))
nil) at least with this defined you'll be able to keep using Thank you for your patience! |
Hi, I'm new to Github and Emacs so let me know if I'm doing anything wrong by posting this here. I was running in to a similar error, and I managed to fix it. I found out that the program was failing to authenticate in the first Is there any reason why the comma is there? As I understand it, removing the comma will just mean that Thanks a lot for this plugin btw, I really love it :) |
Oh, you're totally right! PS: You did everything right, thank you very much! |
Well, yesterday I uploaded a new version with the change that you proposed, please tell me if the issue you were mentioning is fixed! |
All search commands (
counsel-spotify-search-album
,-track
,-artist
etc) are failing for me:The next/previous/play commands work fine.
My API client and secret are valid since I use them with another spotify client without issue. This is Emacs 27.0.90. I am trying with the official Linux spotify client open, although I would eventually like to use
spotifyd
.This is my
use-package
declaration:The
my-counsel-spotify-
variables are set elsewhere.The text was updated successfully, but these errors were encountered: