indexers implementation is now separated from settings/definition

so we can have multiple newznab definitions.
This commit is contained in:
Keivan Beigi
2013-05-01 18:59:09 -07:00
parent 50fd2f77b1
commit 96990eabb3
28 changed files with 270 additions and 345 deletions
@@ -1,7 +1,5 @@
using System;
using System.ServiceModel.Syndication;
using NzbDrone.Core.Model;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Parser.Model;
namespace NzbDrone.Core.Indexers.Newznab
@@ -25,7 +23,9 @@ namespace NzbDrone.Core.Indexers.Newznab
if (currentResult != null)
{
if (item.Links.Count > 1)
{
currentResult.Size = item.Links[1].Length;
}
currentResult.Indexer = GetName(item);
}