Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/cleanup the get/add logic for mediaitems + metadata retrieval #1480

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

marcelveldt
Copy link
Member

@marcelveldt marcelveldt commented Jul 8, 2024

Better differentiate the logic to get a media item with the logic to add an item to the library and/or refresh metadata.
Introduce a background scanner that very slowly checks for missing metadata (with only a limited amount of online calls allowed per day) which is better than refreshing the UI when you view it.

This fixes the various race conditions we've seen with continuous loops (also reported as wiggling UI)

@marcelveldt marcelveldt merged commit 9918fbe into main Jul 8, 2024
8 checks passed
@marcelveldt marcelveldt deleted the refactor-get-add-logic branch July 8, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant