Skip to content

Debug and refactor artwork loading and hilt#48

Draft
scorp867 wants to merge 1 commit into
masterfrom
cursor/debug-and-refactor-artwork-loading-and-hilt-1af2
Draft

Debug and refactor artwork loading and hilt#48
scorp867 wants to merge 1 commit into
masterfrom
cursor/debug-and-refactor-artwork-loading-and-hilt-1af2

Conversation

@scorp867

@scorp867 scorp867 commented Sep 6, 2025

Copy link
Copy Markdown
Owner

Optimize artwork prefetching and unify LibraryRepository DI to reduce log spam and improve performance.

The app was excessively prefetching artwork on every scroll event, even for tracks already known to have no embedded artwork, leading to a flood of debug logs and unnecessary processing. This PR addresses the issue by debouncing, filtering, and caching "no artwork" states, and by ensuring LibraryRepository consistently uses Hilt for proper dependency management.


Open in Cursor Open in Web

Optimize artwork prefetching by deduplicating and batching requests.
Integrate Hilt for dependency injection of LibraryRepository.

Co-authored-by: justinbieber821721 <justinbieber821721@gmail.com>
@cursor

cursor Bot commented Sep 6, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants