[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get the track info?

From: Yoni Rabkin
Subject: Re: How do I get the track info?
Date: Mon, 31 Aug 2020 09:43:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

edgar@openmail.cc writes:

> Hello,
> I would like to know how to show "Tilte - Artist" in my modeline, 
> please. Right now, I can only get the file name
> I am using
>      GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) 
> of 2020-05-19
>      EMMS 5.42 (from MELPA)

You need to configure an info source; a backend that Emms can use to get
track info

If MELPA doesn't provide emms-print-metadata, you can get a copy of it
and install it with:

git clone https://git.savannah.gnu.org/git/emms.git
cd emms
make emms-print-metadata
sudo cp src/emms-print-metadata /usr/local/bin/
cd ..
rm -R emms

(thank you to Peter Prevos for the above)

You can also the tinytag module shipped with Emms 5.42. First install
tinytag with something like:

$ pip install tinytag

...then in emacs:

(setq emms-info-functions '(emms-info-tinytag))

Hope this helps.

   "Cut your own wood and it will warm you twice"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]