~breatheoutbreathein/emacs-simple-mpc-breatheoutbreathein

0f919523ac90f9926db7e1e5b1da7fe28f234618 — Joseph Turner 1 year, 9 months ago c6e932d
Echo artist and song when jump to next/prev song
1 files changed, 4 insertions(+), 2 deletions(-)

M simple-mpc.el
M simple-mpc.el => simple-mpc.el +4 -2
@@ 60,13 60,15 @@
  "Play the next song."
  (interactive)
  (simple-mpc-call-mpc nil "next")
  (simple-mpc-maybe-refresh-playlist t))
  (simple-mpc-maybe-refresh-playlist t)
  (message "%s" (simple-mpc-current-artist-and-song)))

(defun simple-mpc-prev ()
  "Play the previous song."
  (interactive)
  (simple-mpc-call-mpc nil "prev")
  (simple-mpc-maybe-refresh-playlist t))
  (simple-mpc-maybe-refresh-playlist t)
  (message "%s" (simple-mpc-current-artist-and-song)))

(defun simple-mpc-seek-forward ()
  "Does a relative seek forward by `simple-mpc-seek-time-in-s' seconds."