emms-help
[Top][All Lists]
Advanced

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

[emms-help] Enhancing emms-mode-line.el


From: Tim Landscheidt
Subject: [emms-help] Enhancing emms-mode-line.el
Date: Sun, 04 Jul 2010 22:04:35 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

I'm thinking about enhancing emms-mode-line.el (and inte-
grating emms-mode-line-icon.el in the process).

  Instead of the present, "take it or write your own func-
tion" approach, I would like to use something like
battery-mode-line-format with a bunch of "%a" -> track's
artist, "%t" -> track's title, "%s" -> old format, "%i" ->
icon mappings.

  The problem I see when looking at - hmmm -
emms-track-simple-description is that the format should de-
pend on the track type. This could be dealt with by an
alist (always as an alternative to a personal function):

| '((file . "%i %a: %t")
|   (url  . "%i %u")
|   (t    . "%T: %N"))

Are there scenarios that don't fit well into this?

Tim




reply via email to

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