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

Fix FindExtras overwriting current extra type #11260

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

nielsvanvelzen
Copy link
Member

The scanner will always overwrite all extras it found with new data. It doesn't really care about the existing database entry. In some cases this can change the type of an extra. This is a fix for that case by checking if the new type to set is not "unknown".

Changes

  • Only update extra type if it is more specific then the currently known extra type

Issues

@nielsvanvelzen nielsvanvelzen added the bug Something isn't working label Mar 30, 2024
@crobibero crobibero merged commit d9fe900 into jellyfin:master Mar 31, 2024
14 checks passed
@nielsvanvelzen nielsvanvelzen deleted the no-extra-overwrite branch March 31, 2024 20:49
SourSulfur pushed a commit to SourSulfur/jellyfin that referenced this pull request Apr 19, 2024
SourSulfur pushed a commit to SourSulfur/jellyfin that referenced this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants