emms-help
[Top][All Lists]
Advanced

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

Re: How do I get the track info?


From: Edgar Lux
Subject: Re: How do I get the track info?
Date: Tue, 1 Sep 2020 18:26:40 +0200 (CEST)

Yay! it works. I made it even shorter (emms-all loads really everything). 
Thanks!

#+begin_src emacs-lisp
  (package-initialize)
  (emms-all)
  (setq emms-info-libtag-program-name 
"/home/yrk/devel/emms/src/emms-print-metadata"
        emms-info-functions '(emms-info-libtag)
        emms-player-list '(emms-player-mpv)
        emms-source-file-default-directory "~/Music/")
#+end_src

> ----------------------------------------
> From: Yoni Rabkin <yoni@rabkins.net>
> Sent: Tue Sep 01 14:36:42 CEST 2020
> To: Edgar Lux <edgarlux@mailfence.com>
> Cc: <emms-help@gnu.org>
> Subject: Re: How do I get the track info?
> 
> 
> 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:
> 
> (package-initialize)
> (require 'emms-player-mpv)
> (require 'emms-playing-time)
> (require 'emms-mode-line)
> (require 'emms-info-libtag)
> (emms-all)
> (setq emms-info-libtag-program-name 
> "/home/yrk/devel/emms/src/emms-print-metadata"
>       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]