Skip to content

Commit

Permalink
newpct: tag latino as Spanish Latino when found. resolves Jackett#10293
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Nov 25, 2020
1 parent 807c1b1 commit 17e5070
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Jackett.Common/Indexers/NewPCT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ private List<NewpctRelease> ParseSearchJsonContent(string content, string year)

// we have to guess the language (words DUAL or MULTI are not supported in Radarr)
var language = "spanish";
if (titleLower.Contains("latino")) language += " latino";
if ((titleLower.Contains("castellano") && titleLower.Contains("ingles")) ||
(titleLower.Contains("spanish") && titleLower.Contains("english")) ||
titleLower.Contains("[es-en]") || titleLower.Contains("multilenguaje"))
Expand Down

0 comments on commit 17e5070

Please sign in to comment.