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