1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00: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 @@ namespace NzbDrone.Core.Providers.Indexer
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 @@ namespace NzbDrone.Core.Providers.Indexer
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));
}
}