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 metadata ancestor gathering #362
Conversation
Getting errors trying to do the initial sync
|
I'm not sure the referenced error is caused by this PR. Or at least I can't imagine how it would be. Stranger things have certainly happened in this code base, though. Fixes #361 more gooder now. Part 1 was moving the The This changes the query so that any future modified Albums/Audio files get the LibraryId added to it's entry in the local database. However doing it this way means that incremental syncs that touch the un-modified entries are still rather slow. We should recommend running a manual sync on music libraries so users don't see a big delay more than necessary. |
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Kinda fixes #361. Some of it just can't be helped. We don't need to find ancestors on userdata updates. If the item exists, it's updated. If it doesn't, it gets skipped. No need to do the intensive lookup process.
I'm not sure the Artist/Album bits of the userdata updates are ever triggered. At least I haven't seen it in my testing, but I'm not confident enough to remove it yet.
Also changes
to
We don't want to try to add new items whenever a song is listened to