mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
EpisodeAiredAfter added to AddSeries UI
New: Ability to skip episodes that aired before a certain date, per series.
This commit is contained in:
parent
713c4225c0
commit
6c78187601
10 changed files with 51 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue