mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
Refreshing EpisodeInfo will now set new or existing episodes that have air times prior to 1900 to null.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user