Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PolishTracker: Add POLISH to polish language releases title #10567

Merged
merged 2 commits into from
Dec 20, 2020

Conversation

WMP
Copy link
Contributor

@WMP WMP commented Dec 19, 2020

I need to my Sonarr and Radarr can recognize if torrent is Polish

var descriptions = new List<string>();
var language = (string)torrent.language;
if (!string.IsNullOrEmpty(language))
descriptions.Add("Language: " + language);
else if ((bool?)torrent.polish == true)
descriptions.Add("Language: pl");

if (language == "pl" && (((BoolItem) configData.GetDynamic("LanguageTitle")).Value))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the previous line I see torrent.polish == true
Could be better to check that instead language or it's the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, i thinks this same, but i check and all torents has language == "pl" but havent torrent.polish == true

@ngosang ngosang merged commit 85ba5c6 into Jackett:master Dec 20, 2020
@ngosang
Copy link
Member

ngosang commented Dec 20, 2020

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants