mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
fixed some settings value convert issues. would cause crash on clean installs.
This commit is contained in:
parent
9caacc4809
commit
8c372e938c
5 changed files with 41 additions and 36 deletions
|
@ -29,7 +29,7 @@ namespace NzbDrone.Core.Providers
|
|||
public virtual bool AddByUrl(string url, string title)
|
||||
{
|
||||
string cat = _configProvider.SabTvCategory;
|
||||
int priority = (int)Enum.Parse(typeof(SabnzbdPriorityType), _configProvider.SabTvPriority);
|
||||
int priority = (int)_configProvider.SabTvPriority;
|
||||
string name = url.Replace("&", "%26");
|
||||
string nzbName = HttpUtility.UrlEncode(title);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue