Re: Cache file very big due to album art metadata when using ogginfo

Yoni Rabkin <[email protected]>
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
Daniel Semyonov <[email protected]> writes:

> Hi,
>
> In the last few months (not sure since when exactly) I've noticed the my
> EMMS cache is taking a very long time to load.  A few days ago I had
> some free time to investigate and I realized that my cache file was over
> 4 GB in size (with around 1000 tracks).  Further investigation revealed
> that for each track a value called 'info-metadata_block_picture' was
> saved, which I'm assuming is the embedded album art encoded in some way.
> Removing this value (by adding a function to 'emms-info-functions' which
> sets it to nil) shrunk my cache to under 3 MB.
>
> AFAICT, this value isn't used by EMMS, so maybe it shouldn't be saved to
> the cache in the first place?

This also shouldn't happen with all info backends, but only those who
simply output all of METADATA_BLOCK_PICTURE as base64 (for instance,
exiftool doesn't). Do you already know which backends do this and which
do not?

-- 
   "Cut your own wood and it will warm you twice"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.