mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Updated .gitignore to not store .nzb
Add [PROPER] to titleFix if it's a proper. User can now change the QualityProfile when adding a series (new or existing), option will default to their DefaultQualityProfile.
This commit is contained in:
parent
c6a7eaab93
commit
e62cb3b5da
13 changed files with 103 additions and 26 deletions
|
@ -81,7 +81,7 @@ namespace NzbDrone.Core.Providers
|
|||
return _tvDb.GetSeries(tvDbId, false);
|
||||
}
|
||||
|
||||
public void AddSeries(string path, TvdbSeries series)
|
||||
public void AddSeries(string path, TvdbSeries series, int qualityProfileId)
|
||||
{
|
||||
Logger.Info("Adding Series [{0}]:{1} Path: {2}", series.Id, series.SeriesName, path);
|
||||
var repoSeries = new Series();
|
||||
|
@ -95,7 +95,10 @@ namespace NzbDrone.Core.Providers
|
|||
repoSeries.Path = path;
|
||||
repoSeries.CleanTitle = Parser.NormalizeTitle(series.SeriesName);
|
||||
repoSeries.Monitored = true; //New shows should be monitored
|
||||
repoSeries.QualityProfileId = Convert.ToInt32(_config.GetValue("DefaultQualityProfile", "1", true));
|
||||
repoSeries.QualityProfileId = qualityProfileId;
|
||||
if (qualityProfileId == 0)
|
||||
repoSeries.QualityProfileId = Convert.ToInt32(_config.GetValue("DefaultQualityProfile", "1", true));
|
||||
|
||||
repoSeries.SeasonFolder = true;
|
||||
|
||||
if (!Convert.ToBoolean(_config.GetValue("Sorting_SeasonFolder", true, true)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue