|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
using System.ServiceModel.Syndication;
|
|
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
|
using NzbDrone.Core.Providers.Core;
|
|
|
|
|
using SubSonic.Repository;
|
|
|
|
|
|
|
|
|
@ -32,5 +33,16 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
{
|
|
|
|
|
return item.Id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override EpisodeParseResult CustomParser(SyndicationItem item, EpisodeParseResult currentResult)
|
|
|
|
|
{
|
|
|
|
|
var quality = Parser.ParseQuality(item.Summary.Text);
|
|
|
|
|
var proper = Parser.ParseProper(item.Summary.Text);
|
|
|
|
|
|
|
|
|
|
currentResult.Quality = quality;
|
|
|
|
|
currentResult.Proper = proper;
|
|
|
|
|
|
|
|
|
|
return currentResult;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|