mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Add series working, Only queue enabled jobs.
This commit is contained in:
parent
66977cd329
commit
b16d85d0fc
4 changed files with 9 additions and 5 deletions
|
@ -122,6 +122,7 @@ namespace NzbDrone.Core.Tv
|
|||
repoSeries.Monitored = true;
|
||||
repoSeries.QualityProfileId = qualityProfileId;
|
||||
repoSeries.Title = title;
|
||||
repoSeries.CleanTitle = Parser.NormalizeTitle(title);
|
||||
if (qualityProfileId == 0)
|
||||
repoSeries.QualityProfileId = _configService.DefaultQualityProfile;
|
||||
|
||||
|
@ -132,6 +133,9 @@ namespace NzbDrone.Core.Tv
|
|||
if (airedAfter.HasValue)
|
||||
repoSeries.CustomStartDate = airedAfter;
|
||||
|
||||
//Todo: Allow the user to set this as part of the addition process.
|
||||
repoSeries.Language = "en";
|
||||
|
||||
_seriesRepository.Insert(repoSeries);
|
||||
|
||||
_eventAggregator.Publish(new SeriesAddedEvent(repoSeries));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue