Skip to content

Conversation

@Oowoosh0
Copy link
Contributor

Currently Music loads the cover art for every single song added to the queue into memory, no matter if the same cover art was already used by other songs. When opening multiple albums at once this can quickly lead to a lot of memory being wasted.
So I implemented a simple cover cache that makes sure that each individual cover only gets loaded into memory once and is then reused by songs from the same album.

This is still WIP. Just putting it here to avoid that someone else unnecessarily starts working on the same thing.

@danirabbit danirabbit mentioned this pull request Apr 18, 2025
@teamcons
Copy link
Contributor

If i wanted to continue on this, should i fork your cover-cache branch?
It is out of date but i cant update it since not mine
what is the approach for those cases?

@zeebok
Copy link
Contributor

zeebok commented Oct 16, 2025

If i wanted to continue on this, should i fork your cover-cache branch? It is out of date but i cant update it since not mine what is the approach for those cases?

@teamcons I don't know if it is considered the "best" practice but I would fork their branch, add your fixes, and do a PR to merge your change into their branch. If they does not respond after a bit then I guess make a new PR here and we can say it replaces this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants