[email protected] 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
(https://www.gnu.org/software/emms/manual/#Track-Information).

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