diff --git a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcorn.cs b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcorn.cs index 7426157ab..1bb7b54be 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcorn.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcorn.cs @@ -45,10 +45,6 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn { LimitsDefault = PageSize, LimitsMax = PageSize, - TvSearchParams = new List - { - TvSearchParam.Q, TvSearchParam.Season, TvSearchParam.Ep, TvSearchParam.ImdbId - }, MovieSearchParams = new List { MovieSearchParam.Q, MovieSearchParam.ImdbId diff --git a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs index 7b6fe586e..30b83ecef 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/PassThePopcorn/PassThePopcornParser.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Globalization; using System.Net; -using System.Text.RegularExpressions; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Common.Serializer; @@ -15,8 +14,6 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn { private readonly PassThePopcornSettings _settings; - private static Regex SeasonRegex => new (@"\bS\d{2,3}(E\d{2,3})?\b", RegexOptions.Compiled); - public PassThePopcornParser(PassThePopcornSettings settings) { _settings = settings; @@ -84,13 +81,6 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn flags.Add(PassThePopcornFlag.Approved); } - var categories = new List { NewznabStandardCategory.Movies }; - - if (title != null && SeasonRegex.Match(title).Success) - { - categories.Add(NewznabStandardCategory.TV); - } - var uploadVolumeFactor = torrent.FreeleechType?.ToUpperInvariant() switch { "NEUTRAL LEECH" => 0, @@ -104,7 +94,7 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn Year = int.Parse(result.Year), InfoUrl = GetInfoUrl(result.GroupId, id), DownloadUrl = GetDownloadUrl(id, jsonResponse.AuthKey, jsonResponse.PassKey), - Categories = categories, + Categories = new List { NewznabStandardCategory.Movies }, Size = long.Parse(torrent.Size), Grabs = int.Parse(torrent.Snatched), Seeders = int.Parse(torrent.Seeders),