From 210dae37326f6e57d2038d746e785840614ee70f Mon Sep 17 00:00:00 2001 From: forcer Date: Tue, 20 Sep 2005 19:51:00 +0000 Subject: Don't set values mp3info has nothing for darcs-hash:20050920195119-2189f-fcfa87d4801c108a5e438c5606f1cda798c50296.gz --- emms-info-mp3info.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/emms-info-mp3info.el b/emms-info-mp3info.el index 0b5d608..07f371b 100644 --- a/emms-info-mp3info.el +++ b/emms-info-mp3info.el @@ -75,9 +75,11 @@ This is a useful element for `emms-info-functions'." emms-info-mp3find-arguments)) (goto-char (point-min)) (while (looking-at "^\\([^=]+\\)=\\(.*\\)$") - (emms-track-set track - (intern (match-string 1)) - (match-string 2)) + (let ((name (intern (match-string 1))) + (value (match-string 2))) + (when (> (length value) + 0) + (emms-track-set track name value))) (forward-line 1)))))) (provide 'emms-info-mp3info) -- cgit v1.2.3