You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tubifarry/Notifications/QueueCleaner/QueueCleaner.cs
+32-3Lines changed: 32 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
usingNzbDrone.Core.Download;
5
5
usingNzbDrone.Core.Download.TrackedDownloads;
6
6
usingNzbDrone.Core.History;
7
+
usingNzbDrone.Core.Indexers;
7
8
usingNzbDrone.Core.MediaFiles;
8
9
usingNzbDrone.Core.MediaFiles.Events;
9
10
usingNzbDrone.Core.Messaging.Events;
@@ -26,16 +27,18 @@ public class QueueCleaner : NotificationBase<QueueCleanerSettings>
26
27
privatereadonlyIHistoryService_historyService;
27
28
privatereadonlyIEventAggregator_eventAggregator;
28
29
privatereadonlyINamingConfigService_namingConfig;
30
+
privatereadonlyIIndexerFactory_indexerFactory;
29
31
30
32
publicoverridestringName=>"Queue Cleaner";
31
33
32
34
publicoverridestringLink=>"";
33
35
34
36
publicoverrideProviderMessageMessage=>new("Queue Cleaner automatically processes items that failed to import. It can rename, blocklist, or remove items based on your settings.",ProviderMessageType.Info);
Copy file name to clipboardExpand all lines: Tubifarry/Notifications/QueueCleaner/QueueCleanerSettings.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,9 @@ public class QueueCleanerSettings : IProviderConfig
26
26
[FieldDefinition(4,Label="Retry Finding Release",Type=FieldType.Checkbox,HelpText="Retry searching for the release if the import fails during queue cleaning.")]
27
27
publicboolRetryFindingRelease{get;set;}=true;
28
28
29
+
[FieldDefinition(5,Label="Indexers",Type=FieldType.Tag,HelpText="Names of indexers to watch. Leave empty to use all available indexers.")]
0 commit comments