mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
New: Option to control whether new seasons get monitored automatically
(cherry picked from commit b95a84f6612333d96fcdca083f9c39d96956f3f4) Closes #5083
This commit is contained in:
@@ -3,6 +3,7 @@ function getNewSeries(series, payload) {
|
||||
const {
|
||||
rootFolderPath,
|
||||
monitor,
|
||||
monitorNewItems,
|
||||
qualityProfileId,
|
||||
seriesType,
|
||||
seasonFolder,
|
||||
@@ -19,6 +20,7 @@ function getNewSeries(series, payload) {
|
||||
|
||||
series.addOptions = addOptions;
|
||||
series.monitored = true;
|
||||
series.monitorNewItems = monitorNewItems;
|
||||
series.qualityProfileId = qualityProfileId;
|
||||
series.rootFolderPath = rootFolderPath;
|
||||
series.seriesType = seriesType;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
import translate from 'Utilities/String/translate';
|
||||
|
||||
const monitorNewItemsOptions = [
|
||||
{
|
||||
key: 'all',
|
||||
get value() {
|
||||
return translate('MonitorAllSeasons');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'none',
|
||||
get value() {
|
||||
return translate('MonitorNone');
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
export default monitorNewItemsOptions;
|
||||
Reference in New Issue
Block a user