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

Player status only updates upon an action #88

Closed pryganss closed 2 years ago

pryganss commented 2 years ago

The player status in the modeline will only update when doing an action like pausing or skipping the song etc. but not when the song changes normally. I am using gnu emacs on ubuntu.

Here's the relevant config in my init.el file

  (use-package smudge)
  (setq smudge-oauth2-client-secret "...)
  (setq smudge-oauth2-client-id "...")
  (define-key smudge-mode-map (kbd "C-c .") 'smudge-command-map)
  (setq smudge-transport 'connect)

  (global-smudge-remote-mode 1)

Steps to Reproduce

  1. Place code in init.el
  2. Start emacs
  3. Start playing music
  4. Wait for song to end

Expected Behavior Status in the modeline should update after the song ends