mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
EpisodeAiredAfter added to AddSeries UI
New: Ability to skip episodes that aired before a certain date, per series.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace NzbDrone.Core.Providers
|
||||
return series;
|
||||
}
|
||||
|
||||
public virtual void AddSeries(string title, string path, int tvDbSeriesId, int qualityProfileId)
|
||||
public virtual void AddSeries(string title, string path, int tvDbSeriesId, int qualityProfileId, DateTime? airedAfter)
|
||||
{
|
||||
Logger.Info("Adding Series [{0}] Path: [{1}]", tvDbSeriesId, path);
|
||||
|
||||
@@ -131,6 +131,9 @@ namespace NzbDrone.Core.Providers
|
||||
repoSeries.SeasonFolder = _configProvider.UseSeasonFolder;
|
||||
repoSeries.BacklogSetting = BacklogSettingType.Inherit;
|
||||
|
||||
if (airedAfter.HasValue)
|
||||
repoSeries.DownloadEpisodesAiredAfter = airedAfter;
|
||||
|
||||
_database.Insert(repoSeries);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user