Change the song notify format string.

This commit is contained in:
Renaud Casenave-Péré 2011-07-20 15:10:41 +09:00
parent eb30f79e2e
commit 35de475aaf

View file

@ -89,7 +89,8 @@ return at the end of a request.")
(defun empc-echo-song (song)
"Notify SONG."
(empc-echo-notify (concat (plist-get song :artist) " - " (plist-get song :title))))
(empc-echo-notify (concat "[" (int-to-string (plist-get song :pos)) "/" (int-to-string (plist-get empc-current-status :playlistlength)) "] "
(plist-get song :artist) " - " (plist-get song :title))))
(defun empc-make-modeline ()
"Create the string to insert into the modeline."