1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02:00

Full season searching for Nzbs.org and NzbMatrix will also look for S01 in addition to Season.

This commit is contained in:
Mark McDowall 2011-08-31 17:17:35 -07:00
parent 8cffa5168b
commit fbb4ced77c
2 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,7 @@ protected override IList<string> GetSearchUrls(SearchModel searchModel)
else
{
searchUrls.Add(String.Format("{0}&term={1}+Season", url, searchModel.SeriesTitle));
searchUrls.Add(String.Format("{0}&term={1}+S{2:00}", url, searchModel.SeriesTitle, searchModel.SeasonNumber));
}
}

View File

@ -51,8 +51,8 @@ protected override IList<string> GetSearchUrls(SearchModel searchModel)
else
{
searchUrls.Add(String.Format("{0}&action=search&q={1}+Season", url,
searchModel.SeriesTitle));
searchUrls.Add(String.Format("{0}&action=search&q={1}+Season", url, searchModel.SeriesTitle));
searchUrls.Add(String.Format("{0}&action=search&q={1}+S{2:00}", url, searchModel.SeriesTitle, searchModel.SeasonNumber));
}
}