aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-lyrics.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index 8ca0cdd..11f0a07 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -168,8 +168,10 @@ To find FILE, will look up in current directory and `emms-lyrics-dir'."
emms-lyrics-pause-time nil
emms-lyrics-elapsed-time 0)
(when (and emms-lyrics-display-p
- emms-lyrics-alist
- (let ((file (cdaddr (emms-playlist-current-selected-track))))
+ (let ((file
+ (emms-track-get
+ (emms-playlist-current-selected-track)
+ 'name)))
(emms-lyrics-read-file
(replace-regexp-in-string
(file-name-extension file) "lrc" file))))