mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
New: Option to control which new author books get monitored
This commit is contained in:
@@ -93,6 +93,11 @@ namespace NzbDrone.Core.Books
|
||||
|
||||
protected abstract void PrepareNewChild(TChild child, TEntity entity);
|
||||
protected abstract void PrepareExistingChild(TChild local, TChild remote, TEntity entity);
|
||||
|
||||
protected virtual void ProcessChildren(TEntity entity, SortedChildren children)
|
||||
{
|
||||
}
|
||||
|
||||
protected abstract void AddChildren(List<TChild> children);
|
||||
protected abstract bool RefreshChildren(SortedChildren localChildren, List<TChild> remoteChildren, Author remoteData, bool forceChildRefresh, bool forceUpdateFileTags, DateTime? lastUpdate);
|
||||
|
||||
@@ -277,6 +282,8 @@ namespace NzbDrone.Core.Books
|
||||
sortedChildren.Deleted.Count);
|
||||
}
|
||||
|
||||
ProcessChildren(entity, sortedChildren);
|
||||
|
||||
// Add in the new children (we have checked that foreign IDs don't clash)
|
||||
AddChildren(sortedChildren.Added);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user