[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: |
Sun, 24 Dec 2017 20:18:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Pierre Neidhardt <address@hidden> writes:
> I noticed that setting emms-browser-get-track-field-function as
> suggested in this thread will fail to work on tracks that were already
> cached.
Your cache probably contains records from the older version of
emms-print-metadata. These records do not have albumartist and other
such tags.
Sadly enough the cache does not have versioning information, as far as I
know. So if metadata tools (in this case emms-print-metadata) get
updated, the cache is not invalidated. I usually do something like
(setq emms-cache (make-hash-table)) to clear the cache. After that it
gets rebuild. It would be nice to have this done automatically.
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.
Regards and season's greetings,
Petteri