mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Retain user settings not-affiliated with Prowlarr
This commit is contained in:
@@ -182,6 +182,9 @@ namespace NzbDrone.Core.Applications.Readarr
|
||||
// Retain user tags not-affiliated with Prowlarr
|
||||
readarrIndexer.Tags.UnionWith(remoteIndexer.Tags);
|
||||
|
||||
// Retain user settings not-affiliated with Prowlarr
|
||||
readarrIndexer.DownloadClientId = remoteIndexer.DownloadClientId;
|
||||
|
||||
// Update the indexer if it still has categories that match
|
||||
_readarrV1Proxy.UpdateIndexer(readarrIndexer, Settings);
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@ namespace NzbDrone.Core.Applications.Readarr
|
||||
public string Implementation { get; set; }
|
||||
public string ConfigContract { get; set; }
|
||||
public string InfoLink { get; set; }
|
||||
public int? DownloadClientId { get; set; }
|
||||
public HashSet<int> Tags { get; set; }
|
||||
public List<ReadarrField> Fields { get; set; }
|
||||
|
||||
|
@@ -182,6 +182,9 @@ namespace NzbDrone.Core.Applications.Whisparr
|
||||
// Retain user tags not-affiliated with Prowlarr
|
||||
whisparrIndexer.Tags.UnionWith(remoteIndexer.Tags);
|
||||
|
||||
// Retain user settings not-affiliated with Prowlarr
|
||||
whisparrIndexer.DownloadClientId = remoteIndexer.DownloadClientId;
|
||||
|
||||
// Update the indexer if it still has categories that match
|
||||
_whisparrV3Proxy.UpdateIndexer(whisparrIndexer, Settings);
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@ namespace NzbDrone.Core.Applications.Whisparr
|
||||
public string Implementation { get; set; }
|
||||
public string ConfigContract { get; set; }
|
||||
public string InfoLink { get; set; }
|
||||
public int? DownloadClientId { get; set; }
|
||||
public HashSet<int> Tags { get; set; }
|
||||
public List<WhisparrField> Fields { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user