Fix goto current song in playlist
This commit is contained in:
parent
bb2fd85e51
commit
f4aee5ef91
1 changed files with 4 additions and 3 deletions
7
empc.el
7
empc.el
|
|
@ -431,9 +431,10 @@ According to what is in the diff, several actions can be performed:
|
|||
(let ((status-diff (empc-diff-status data))
|
||||
(notify nil))
|
||||
(when (plist-get status-diff :songid)
|
||||
(setq notify '(lambda () (when (empc-playlist-songs empc-object)
|
||||
(empc-echo-song))))
|
||||
(empc-playlist-goto-current-song))
|
||||
(setq notify '(lambda ()
|
||||
(when (empc-playlist-songs empc-object)
|
||||
(empc-echo-song))
|
||||
(empc-playlist-goto-current-song))))
|
||||
(when (plist-get status-diff :state)
|
||||
(if (eq (plist-get status-diff :state) 'play)
|
||||
(progn
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue