Code Layout.
This commit is contained in:
parent
c2b285e94a
commit
08b12abc1a
1 changed files with 2 additions and 1 deletions
3
empc.el
3
empc.el
|
|
@ -89,7 +89,8 @@ return at the end of a request.")
|
|||
|
||||
(defun empc-echo-song (song)
|
||||
"Notify SONG."
|
||||
(empc-echo-notify (concat "[" (int-to-string (+ (plist-get song :pos) 1)) "/" (int-to-string (plist-get empc-current-status :playlistlength)) "] "
|
||||
(empc-echo-notify (concat "[" (int-to-string (+ (plist-get song :pos) 1))
|
||||
"/" (int-to-string (plist-get empc-current-status :playlistlength)) "] "
|
||||
(if (and (plist-get song :artist) (plist-get song :title))
|
||||
(concat (plist-get song :artist) " - " (plist-get song :title))
|
||||
(plist-get song :file)))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue