mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
New: Enable/Disable RSS Sync/Searching on a per indexer basis
This commit is contained in:
@@ -40,11 +40,17 @@ namespace NzbDrone.Core.Datastore
|
||||
Mapper.Entity<RootFolder>().RegisterModel("RootFolders").Ignore(r => r.FreeSpace);
|
||||
|
||||
Mapper.Entity<IndexerDefinition>().RegisterModel("Indexers")
|
||||
.Ignore(s => s.Protocol);
|
||||
.Ignore(i => i.Enable)
|
||||
.Ignore(i => i.Protocol)
|
||||
.Ignore(i => i.SupportsRss)
|
||||
.Ignore(i => i.SupportsSearch);
|
||||
|
||||
Mapper.Entity<ScheduledTask>().RegisterModel("ScheduledTasks");
|
||||
Mapper.Entity<NotificationDefinition>().RegisterModel("Notifications");
|
||||
Mapper.Entity<MetadataDefinition>().RegisterModel("Metadata");
|
||||
Mapper.Entity<DownloadClientDefinition>().RegisterModel("DownloadClients");
|
||||
|
||||
Mapper.Entity<DownloadClientDefinition>().RegisterModel("DownloadClients")
|
||||
.Ignore(d => d.Protocol);
|
||||
|
||||
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
||||
|
||||
|
Reference in New Issue
Block a user