diff --git a/NzbDrone.Core/IndexerSearch/NzbSearchService.cs b/NzbDrone.Core/IndexerSearch/NzbSearchService.cs index b0c151933..03502fc82 100644 --- a/NzbDrone.Core/IndexerSearch/NzbSearchService.cs +++ b/NzbDrone.Core/IndexerSearch/NzbSearchService.cs @@ -54,6 +54,11 @@ namespace NzbDrone.Core.IndexerSearch if (series.SeriesType == SeriesTypes.Daily) { + if (string.IsNullOrWhiteSpace(episode.AirDate)) + { + throw new InvalidOperationException("Daily episode is missing AirDate. Try to refresh series info."); + } + return SearchDaily(episode.SeriesId, DateTime.ParseExact(episode.AirDate, Episode.AIR_DATE_FORMAT, CultureInfo.InvariantCulture)); } diff --git a/NzbDrone.Core/Indexers/SyndicationFeedXmlReader.cs b/NzbDrone.Core/Indexers/SyndicationFeedXmlReader.cs index f6024a9f8..30642a721 100644 --- a/NzbDrone.Core/Indexers/SyndicationFeedXmlReader.cs +++ b/NzbDrone.Core/Indexers/SyndicationFeedXmlReader.cs @@ -72,7 +72,7 @@ namespace NzbDrone.Core.Indexers return dateVal; } - public void CheckForError() + private void CheckForError() { if (MoveToContent() == XmlNodeType.Element) {