[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: Tue, 01 Sep 2020 08:36:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Edgar Lux <edgarlux@mailfence.com> writes:

> FYI, this is what I have in my configuration file to test
> (require 'package)
> (setq package-archives nil)
> (package-initialize)
> (add-to-list 'load-path "path-to-emms/")
> (require 'emms)
> ;; from (emms-setup) and (emms-minimalistic)
> ;; see also https://pastebin.com/2hFXPJ56
> (require 'emms-source-file)
> (require 'emms-source-playlist)
> (require 'emms-player-simple)
> (require 'emms-player-mpv)
> (require 'emms-mark)
> (require 'emms-playing-time)
> (require 'emms-mode-line)
> (require 'emms-info-libtag)
> (setq emms-info-libtag-program-name
>       "path-to-emms/emms-print-metadata"
>       emms-info-functions '(emms-info-libtag))
> (setq emms-seek-seconds 5
>       emms-player-list '(emms-player-mpv)
>       emms-source-file-default-directory "~/Music/"
>       emms-info-asynchronously t)
> (setq emms-playlist-default-major-mode 'emms-playlist-mode)
> (emms-mode-line 1)
> (emms-mode-line-blank)
> (emms-playing-time 1)

I paired your config down to the shortest config that will make Emms
display info in the playlist buffer and the mode-line while loading the
bits you've chosen. I started Emacs with -q and then loaded this:

(require 'emms-player-mpv)
(require 'emms-playing-time)
(require 'emms-mode-line)
(require 'emms-info-libtag)
(setq emms-info-libtag-program-name 
      emms-info-functions '(emms-info-libtag)
      emms-player-list '(emms-player-mpv)
      emms-source-file-default-directory "~/Music/")

That should work fine. The line where we set
`emms-info-libtag-program-name' can also be done away with if you've
installed emms-print-metadata into your path.

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

reply via email to

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