mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fix: Newzbin will no longer include Full DVD releases, or other non-standard formats.
This commit is contained in:
parent
c768fff4ef
commit
e8be045d12
4 changed files with 1 additions and 104 deletions
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
{
|
||||
}
|
||||
|
||||
private const string URL_PARAMS = "feed=rss&hauth=1&ps_rb_language=4096";
|
||||
private const string URL_PARAMS = "feed=rss&hauth=1&ps_rb_language=4096&ps_rb_video_format=3082257";
|
||||
|
||||
protected override string[] Urls
|
||||
{
|
||||
|
@ -108,12 +108,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
var quality = Parser.ParseQuality(item.Summary.Text);
|
||||
currentResult.Quality = quality;
|
||||
|
||||
if (Regex.IsMatch(item.Summary.Text, @"\|\s+Video Format - DVD\s+\|", RegexOptions.Compiled | RegexOptions.IgnoreCase))
|
||||
{
|
||||
_logger.Trace("Report is a full DVD, setting Quality to False");
|
||||
currentResult.Quality = new Quality(QualityTypes.Unknown, false);
|
||||
}
|
||||
|
||||
var languageString = Regex.Match(item.Summary.Text, @"Language - \w*", RegexOptions.IgnoreCase).Value;
|
||||
currentResult.Language = Parser.ParseLanguage(languageString);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue