mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fix issue with episode search
This commit is contained in:
parent
f1fc6ef59f
commit
1e0967f43c
1 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,8 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||
{
|
||||
var list = new List<RemoteSearchResult>();
|
||||
|
||||
// The search query must either provide an episode number or date
|
||||
if (!searchInfo.IndexNumber.HasValue
|
||||
|| !searchInfo.PremiereDate.HasValue
|
||||
// Either an episode number or date must be provided; and the dictionary of provider ids must be valid
|
||||
if ((searchInfo.IndexNumber == null && searchInfo.PremiereDate == null)
|
||||
|| !TvdbSeriesProvider.IsValidSeries(searchInfo.SeriesProviderIds))
|
||||
{
|
||||
return list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue