[Top][All Lists]

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

Re: [emms-help] Experiment with speeding up Emms

From: Yoni Rabkin Katzenell
Subject: Re: [emms-help] Experiment with speeding up Emms
Date: Wed, 18 Oct 2006 17:35:01 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Yoni Rabkin Katzenell <address@hidden> writes:

> Hello adventurous people,
> Please try and switch the regular expressions in emms-info-ogginfo.el
> and emms-info-mp3info.el to: "\.\(?:O\(?:GG\|gg\)\|ogg\)" and
> "\.\(?:\(?:M[Pp]\|mp\)3\)" respectively.
> I've tried loading all my files with (emms-cache -1) and (setq
> emms-info-asynchronously nil) and got a huge speedup.
> I'd like to know if this breaks anything so I'd be glad if someone tests
> this before I send a patch.

If it helps anyone to locate where to make the changes:

$:~/elisp/emms$ darcs whatsnew
hunk ./emms-info-mp3info.el 79
-             (string-match "\\.[Mm][Pp]3\\'" (emms-track-name track)))
+             (string-match "\.\(?:\(?:M[Pp]\|mp\)3\)" (emms-track-name track)))
hunk ./emms-info-ogginfo.el 50
-             (string-match "\\.[Oo][Gg][Gg]\\'" (emms-track-name track)))
+             (string-match "\.\(?:O\(?:GG\|gg\)\|ogg\)" (emms-track-name 

   "Cut your own wood and it will warm you twice"

reply via email to

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