Refreshing EpisodeInfo will now set new or existing episodes that have air times prior to 1900 to null.

This commit is contained in:
Mark McDowall 2011-11-23 22:28:52 -08:00
commit 2aaa23b11d
2 changed files with 48 additions and 2 deletions

View file

@ -258,9 +258,10 @@ namespace NzbDrone.Core.Providers
episodeToUpdate.Overview = episode.Overview;
if (episode.FirstAired.Year > 1900)
{
episodeToUpdate.AirDate = episode.FirstAired.Date;
}
else
episodeToUpdate.AirDate = null;
successCount++;
}