Full Season searching added (Single NZB). SearchProvider added to perform both Season and Episode searching, triggered via jobs.

Tests added for season searching.
This commit is contained in:
Mark McDowall
2011-08-27 22:45:36 -07:00
parent 07a4c94032
commit 485f618e02
18 changed files with 644 additions and 262 deletions
+4 -5
View File
@@ -7,6 +7,7 @@ using AutoMoq;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Search;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Core;
using NzbDrone.Core.Providers.Indexer;
@@ -73,7 +74,7 @@ namespace NzbDrone.Core.Test
get { return new[] { "www.google.com" }; }
}
protected override IList<string> GetSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber)
protected override IList<string> GetSearchUrls(SearchModel searchModel)
{
throw new NotImplementedException();
}
@@ -112,7 +113,7 @@ namespace NzbDrone.Core.Test
get { return new[] { "http://rss.nzbmatrix.com/rss.php?cat=TV" }; }
}
protected override IList<string> GetSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber)
protected override IList<string> GetSearchUrls(SearchModel searchModel)
{
throw new NotImplementedException();
}
@@ -135,14 +136,12 @@ namespace NzbDrone.Core.Test
get { return "Custom parser"; }
}
protected override string[] Urls
{
get { return new[] { "http://www.google.com" }; }
}
protected override IList<string> GetSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber)
protected override IList<string> GetSearchUrls(SearchModel searchModel)
{
throw new NotImplementedException();
}