mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
SabTitle will return Quality in square brackets '[' or ']'
This commit is contained in:
parent
a5d9ee17bf
commit
a338b9fee5
2 changed files with 10 additions and 10 deletions
|
@ -29,9 +29,9 @@ namespace NzbDrone.Core.Providers
|
|||
public virtual bool AddByUrl(string url, string title)
|
||||
{
|
||||
const string mode = "addurl";
|
||||
string cat = _configProvider.GetValue("SabTvCategory", String.Empty, true);
|
||||
string cat = _configProvider.SabTvCategory;
|
||||
//string cat = "tv";
|
||||
string priority = _configProvider.GetValue("SabTvPriority", String.Empty, false);
|
||||
string priority = _configProvider.SabTvPriority;
|
||||
string name = url.Replace("&", "%26");
|
||||
string nzbName = HttpUtility.UrlEncode(title);
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace NzbDrone.Core.Providers
|
|||
cat, nzbName);
|
||||
string request = GetSabRequest(action);
|
||||
|
||||
Logger.Debug("Adding report [{0}] to the queue.", nzbName);
|
||||
Logger.Info("Adding report [{0}] to the queue.", title);
|
||||
|
||||
string response = _httpProvider.DownloadString(request).Replace("\n", String.Empty);
|
||||
Logger.Debug("Queue Repsonse: [{0}]", response);
|
||||
|
@ -130,7 +130,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
var epNumberString = String.Join("-", episodeString);
|
||||
|
||||
var result = String.Format("{0} - {1} - {2} {3}", parseResult.FolderName, epNumberString, parseResult.EpisodeTitle, parseResult.Quality);
|
||||
var result = String.Format("{0} - {1} - {2} [{3}]", parseResult.FolderName, epNumberString, parseResult.EpisodeTitle, parseResult.Quality);
|
||||
|
||||
if (parseResult.Proper)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue