[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] emms-mode-line-string for the first track incomplete
From: |
Jorgen Schaefer |
Subject: |
Re: [emms-help] emms-mode-line-string for the first track incomplete |
Date: |
Mon, 26 Sep 2005 03:29:21 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
William Xu <address@hidden> writes:
> I find that when i start to play a new playlist, the
> emms-mode-line-string for the first track only shows its filename, even
> if it has artist info. And seems it's caused by
>
> (later-do 'emms-info-really-initialize-track track)
>
> from `emms-info-initialize-track'. Emms sets the incomplete
> emms-mode-line-string before the first track's full info got
> initialized. Based on this, one can run (emms-mode-line-alter-mode-line)
> after a later-do-interval time to force an update. I haven't figured out
> a clean way to accomplish this yet. What do you think?
I fixed this oversight in the API. You should use the new
`emms-track-updated-functions' hook.
Greetings,
-- Jorgen
--
((email . "address@hidden") (www . "http://www.forcix.cx/")
(gpg . "1024D/028AF63C") (irc . "nick forcer on IRCnet"))