mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-25 22:59:10 -04:00
Iptorrents tv episode search fix (#374)
* adjust search term for individual season in ipt
This commit is contained in:
@@ -174,11 +174,15 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||
|
||||
if (imdbId.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
qc.Add("q", imdbId);
|
||||
// ipt uses sphinx, which supports boolean operators and grouping
|
||||
qc.Add("q", "+(" + imdbId + ")");
|
||||
}
|
||||
else if (!string.IsNullOrWhiteSpace(term))
|
||||
|
||||
// changed from else if to if to support searching imdbid + season/episode in the same query
|
||||
if (!string.IsNullOrWhiteSpace(term))
|
||||
{
|
||||
qc.Add("q", term);
|
||||
// similar to above
|
||||
qc.Add("q", "+(" + term + ")");
|
||||
}
|
||||
|
||||
if (Settings.FreeLeechOnly)
|
||||
|
||||
Reference in New Issue
Block a user