[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] Album artist grouping in emms-browser
From: |
Petteri Hintsanen |
Subject: |
Re: [emms-help] Album artist grouping in emms-browser |
Date: |
Sat, 21 Apr 2018 14:15:16 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Pierre Neidhardt <address@hidden> writes:
> Petteri Hintsanen <address@hidden> writes:
>
>> Caching in general is not particularly smart at the moment. Also the
>> metadata extraction could be orders of magnitude faster by batching; now
>> there is one exec per track.
...
> The main bottle neck was with later-do which pause 0.5s every track.
> I've added some batch-processing there. See my recent commit on later-do.
I see. But there still is one process invocation per track? I would
prefer a design where metadata extractor would accept multiple track
file names and output tags for them in a batch. This would be easy to
do with emms-print-metadata via simple stdin / stdout. Of course it
requires some modifications to the elisp side, and things have to be
backwards compatible so that other info methods still work.
I can think about some solution, but don't hold your breath. Batching
later-do is probably good enough solution for most use cases.
Petteri