New: Option to control which new author books get monitored

This commit is contained in:
ta264
2021-12-01 21:23:23 +00:00
parent 1d694af98e
commit c51ae664aa
42 changed files with 774 additions and 265 deletions
@@ -3,6 +3,7 @@ function getNewAuthor(author, payload) {
const {
rootFolderPath,
monitor,
monitorNewItems,
qualityProfileId,
metadataProfileId,
tags,
@@ -16,6 +17,7 @@ function getNewAuthor(author, payload) {
author.addOptions = addOptions;
author.monitored = true;
author.monitorNewItems = monitorNewItems;
author.qualityProfileId = qualityProfileId;
author.metadataProfileId = metadataProfileId;
author.rootFolderPath = rootFolderPath;
@@ -0,0 +1,7 @@
const monitorNewItemsOptions = [
{ key: 'all', value: 'All Books' },
{ key: 'none', value: 'None' },
{ key: 'new', value: 'New' }
];
export default monitorNewItemsOptions;