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 04:50:22 +0200 (CEST)

Thanks!

> ----------------------------------------
> From: Yoni Rabkin <yoni@rabkins.net>
#+begin_quote
> [...]
> When you run emms-print-metadata on a file, does it provide some output?
> [...]
#+end_quote

Yeah, sure. As I said, I was able to run it.

Whenever I set the point at the end of the following block and execute it (with 
=eval-last-sexp=)

#+begin_src emacs-lisp
  (process-file emms-info-libtag-program-name
                      nil '(t nil) nil
                      (emms-track-name
                       (emms-playlist-current-selected-track)))
#+end_src

I get something like this (I killed-yanked your song info, but that is how it 
looks).

#+begin_src emacs-lisp
  (process-file emms-info-libtag-program-name
                nil '(t nil) nil
                (emms-track-name
                 (emms-playlist-current-selected-track)))info-album=Truth
  info-albumartist=Kamasi Washington
  info-artist=Kamasi Washington
  info-title=Truth
  info-tracknumber=1
  info-discnumber=1
  info-playing-time=810
#+end_src

That should be the actual behaviour, because of the options which are passed to 
process-file (I just find it funny). If you don't get the same, may be that's 
where we need to start.



reply via email to

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