mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
HttpProvider - Added Download File.
SabProvider - Added AddById (Newzbin) Fixes to RssItemProcessingProvider Can either download NZB to file or send to SAB...
This commit is contained in:
@@ -87,7 +87,9 @@ namespace NzbDrone.Web.Controllers
|
||||
SabUsername = _configProvider.GetValue("SabUsername", String.Empty, true),
|
||||
SabPassword = _configProvider.GetValue("SabPassword", String.Empty, true),
|
||||
SabTvCategory = _configProvider.GetValue("SabTvCategory", String.Empty, true),
|
||||
SabPriority = (SabnzbdPriorityType)Enum.Parse(typeof(SabnzbdPriorityType), _configProvider.GetValue("SabPriority", "Normal", true)),
|
||||
SabTvPriority = (SabnzbdPriorityType)Enum.Parse(typeof(SabnzbdPriorityType), _configProvider.GetValue("SabTvPriority", "Normal", true)),
|
||||
UseBlackHole = Convert.ToBoolean(_configProvider.GetValue("UseBlackHole", true, true)),
|
||||
BlackholeDirectory = _configProvider.GetValue("BlackholeDirectory", String.Empty, true)
|
||||
};
|
||||
|
||||
return View("Index", model);
|
||||
@@ -275,7 +277,9 @@ namespace NzbDrone.Web.Controllers
|
||||
_configProvider.SetValue("SabUsername", data.SabUsername);
|
||||
_configProvider.SetValue("SabPassword", data.SabPassword);
|
||||
_configProvider.SetValue("SabTvCategory", data.SabTvCategory);
|
||||
_configProvider.SetValue("SabPriority", data.SabPriority.ToString());
|
||||
_configProvider.SetValue("SabTvPriority", data.SabTvPriority.ToString());
|
||||
_configProvider.SetValue("UseBlackhole", data.UseBlackHole.ToString());
|
||||
_configProvider.SetValue("BlackholeDirectory", data.BlackholeDirectory);
|
||||
|
||||
return Content(_settingsSaved);
|
||||
}
|
||||
|
Reference in New Issue
Block a user