aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-26 09:24:06 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-26 09:24:06 +0100
commit2d2a2bacc0a6440305a487d223a076d3549ec674 (patch)
treefc974e3a64ae76892fe28bcde34b2dafe0a0f7fa /gnu/packages
parent588a781396a96b2c2a7b1ab7bfa932b6d1faa763 (diff)
downloadpatches-2d2a2bacc0a6440305a487d223a076d3549ec674.tar
patches-2d2a2bacc0a6440305a487d223a076d3549ec674.tar.gz
gnu: emms: Enable the 'mp3info' back-end for MP3 meta-data.
* gnu/packages/emacs.scm (emms)[arguments]: Properly initialize 'emms-info-mp3info-program-name'. This allows the 'emms-info-mp3info' back-end to be enabled by default, even when 'mp3info' is not in $PATH.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8092d8bcfc..2ce88de315 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -444,6 +444,9 @@ operations.")
(emacs-substitute-variables "emms-info-libtag.el"
("emms-info-libtag-program-name"
(string-append out "/bin/emms-print-metadata")))
+ (emacs-substitute-variables "emms-info-mp3info.el"
+ ("emms-info-mp3info-program-name"
+ (string-append mp3info "/bin/mp3info")))
(substitute* "emms-volume-amixer.el"
(("\"amixer\"")
(string-append "\"" alsa "/bin/amixer\"")))