|
|
|
@ -79,6 +79,9 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
|
series.Monitored = seriesModel.Monitored;
|
|
|
|
|
series.SeasonFolder = seriesModel.SeasonFolder;
|
|
|
|
|
series.QualityProfileId = seriesModel.QualityProfileId;
|
|
|
|
|
|
|
|
|
|
var oldPath = series.Path;
|
|
|
|
|
|
|
|
|
|
series.Path = seriesModel.Path;
|
|
|
|
|
series.BacklogSetting = (BacklogSettingType)seriesModel.BacklogSetting;
|
|
|
|
|
|
|
|
|
@ -90,6 +93,9 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
|
|
|
|
|
|
_seriesProvider.UpdateSeries(series);
|
|
|
|
|
|
|
|
|
|
if(oldPath != series.Path)
|
|
|
|
|
_jobProvider.QueueJob(typeof(DiskScanJob), new {SeriesId = series.SeriesId});
|
|
|
|
|
|
|
|
|
|
return new EmptyResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|