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

Fixes issues retrieving episode metadata #116

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

scampower3
Copy link
Member

Fixes the bug introduced when centralizing ProviderId Handling.

@scampower3 scampower3 marked this pull request as draft March 1, 2024 08:47
@scampower3 scampower3 marked this pull request as ready for review March 1, 2024 09:00
Comment on lines +25 to +27
return (item.TryGetValue(MetadataProvider.Tvdb.ToString(), out var tvdbId) && !string.IsNullOrEmpty(tvdbId))
|| (item.TryGetValue(MetadataProvider.Imdb.ToString(), out var imdbId) && !string.IsNullOrEmpty(imdbId))
|| (item.TryGetValue(MetadataProvider.Zap2It.ToString(), out var zap2ItId) && !string.IsNullOrEmpty(zap2ItId));

Check notice

Code scanning / CodeQL

Complex condition Note

Complex condition: too many logical operations in this expression.
@crobibero crobibero merged commit 6862c4d into jellyfin:master Mar 1, 2024
4 checks passed
@scampower3 scampower3 deleted the bug-fix-episodes branch March 1, 2024 12:17
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