From fbb4ced77c9de9e2f03a6a39627eee9e87e91dd6 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 31 Aug 2011 17:17:35 -0700 Subject: [PATCH] Full season searching for Nzbs.org and NzbMatrix will also look for S01 in addition to Season. --- NzbDrone.Core/Providers/Indexer/NzbMatrix.cs | 1 + NzbDrone.Core/Providers/Indexer/NzbsOrg.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs b/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs index 24b0cc467..4366490cb 100644 --- a/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs +++ b/NzbDrone.Core/Providers/Indexer/NzbMatrix.cs @@ -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)); } } diff --git a/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs b/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs index 206b82b73..7d3d60576 100644 --- a/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs +++ b/NzbDrone.Core/Providers/Indexer/NzbsOrg.cs @@ -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)); } }