mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Refreshing EpisodeInfo will now set new or existing episodes that have air times prior to 1900 to null.
This commit is contained in:
parent
576f5c5c09
commit
2aaa23b11d
2 changed files with 48 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue