On Tue, 1 Sep 2020 20:14:57 +0200 (CEST) Edgar Lux <[email protected]> wrote:
> It seems that what was missing earlier (before we added emms-all) was > (add-to-list 'emms-track-initialize-functions 'emms-info-initialize-track) > (setq emms-track-description-function 'emms-info-track-description) > > I have a shorter version now (more lines, but less code than > emms-all). Anyone who is interested, can see it here: > https://paste.ee/p/2Xklh > https://web.archive.org/web/20200901181249/https://paste.ee/p/2Xklh Note that if you use emms-player-mpv, you can also enable emms-player-mpv-update-metadata to have metadata be read for currently-played track by mpv player itself: (custom-set-variables '(emms-player-mpv-update-metadata t t)) It does apply only to currently playing track or stream, but that seem to be what you're after (for displaying it in mode-line) anyway. -- Mike Kazantsev // fraggod.net
