danielfm/smudge

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

dylanjm opened this issue · 1 comments

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:

  • Startup emacs and run M-x spotify-remote-mode
  • Page launches in firefox telling me it's a success
  • Run M-x spotify-my-playlists, loads all my playlists
  • Place cursor over track in playlist and run M-x spotify-play-track
  • Recieve this error in my *Messages* buffer.
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?

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.