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 Tvdb Provider Episode Search #2138

Merged
merged 3 commits into from
Dec 13, 2019

Conversation

mark-monteiro
Copy link
Member

@mark-monteiro mark-monteiro commented Dec 11, 2019

Fixes issue in TvdbEpisodeProvider.GetSearchResults() that was always preventing the search from executing.

Changes
The GetSearchResults() method checks to make sure either an episode number or premier date is included in the search parameters before submitting the request. However, the existing boolean logic was incorrect and returned an empty list if either parameter was missing. I have fixed the boolean logic to correctly check for this condition and return an empty list only if both parameters are missing.

Issues
Fixes: jellyfin-archive/jellyfin-plugin-autoorganize#13

@mark-monteiro mark-monteiro marked this pull request as ready for review December 12, 2019 17:04
Copy link
Member

@anthonylavado anthonylavado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but gonna request another C# reviewer from backend.

@anthonylavado anthonylavado requested a review from a team December 12, 2019 17:06
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.

No provider metadata found
4 participants