mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Newzbin now parses the language out properly.
Fetch episode filters episodes from wrong series
This commit is contained in:
parent
6393d0a3f9
commit
8d12630856
6 changed files with 615 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.ServiceModel.Syndication;
|
||||
using System.Text.RegularExpressions;
|
||||
using Ninject;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Providers.Core;
|
||||
|
@ -60,6 +61,10 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
var quality = Parser.ParseQuality(item.Summary.Text);
|
||||
|
||||
currentResult.Quality = quality;
|
||||
|
||||
var languageString = Regex.Match(item.Summary.Text, @"Language - \w*", RegexOptions.IgnoreCase).Value;
|
||||
|
||||
currentResult.Language = Parser.ParseLanguage(languageString);
|
||||
}
|
||||
return currentResult;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue