mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Option to control which new author books get monitored
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user