mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user