danielfm / smudge

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

Can't Play Track - Getting Wrong Number of Arguments Error #49

Closed dylanjm closed 4 years ago

dylanjm commented 4 years ago

First a bit of information:

Emacs Version: 27.0.50 OS: macOS Mojave 10.14.6 Package Manager: Straight & Use-Package

Here is my spotify.el config

  (use-package spotify
    :straight (:host github :repo "danielfm/spotify.el")
    :config
    (setq spotify-transport 'connect)
    (setq spotify-oauth2-client-secret djm--spotify-oauth2-client-secret)
    (setq spotify-oauth2-client-id djm--spotify-oauth2-client-id)
    (define-key spotify-mode-map (kbd "C-c .") 'spotify-command-map))

I load my client vars in a secret.el file.

Current Behavior:

funcall-interactively: Wrong number of arguments: #[(track &optional context) "ÂÃ… Ä!    …Ä    !#‡" [track context spotify-apply "player-play-track" spotify-get-item-uri] 5 ("/Users/mcdodj/.emacs.d/straight/build/spotify/spotify-controller.elc" . 6820) nil], 0

Am I doing something wrong?

dylanjm commented 4 years ago

I realized I had some other problems going wrong and was using the function incorrectly. I ended up figuring out how it works. This is a non-issue.