[Top][All Lists]

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

[emms-help] Re: Miscellaneous patches

From: Lucas Bonnet
Subject: [emms-help] Re: Miscellaneous patches
Date: Fri, 20 May 2005 13:00:52 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Daniel Brockman <address@hidden> writes:

> When you type M-x emms-play-directory RET /media/some/album RET, the
> first song immediately starts playing --- before its info has had a
> chance to load.  This results in the mode line displaying an ugly file
> name for the first file, but a nice-looking title for the others.
> This simple fix just loads the info for the first file synchronously:
>    (when emms-info-later-do-track-queue
> -    ;; start the process!
> -    (later-do 'emms-info-later-do-process)))
> +    ;; Process the first item synchronously to avoid having it displayed in
> +    ;; the mode line before its meta-data has been fetched.
> +    (emms-info-later-do-process)))

Your patch introduced a bug, thanks to Yoni who spotted it.

On a fresh started Emacs, open the streams menu (M-x emms-streams), be
sure to check that emms-stream-default-action is "add", and press RET on
a stream. You should have a message "No buffer named *Playlist*".
Because it loads info before actually creating the playlist buffer.

If you find a way to fix that, I'd be glad, info-loading isn't my
favourite code :).


reply via email to

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