mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 17:55:55 -07:00
Fix lint errors
This commit is contained in:
parent
b82696fabb
commit
b5ce3f497e
1 changed files with 5 additions and 5 deletions
|
|
@ -108,14 +108,14 @@ const processStreams = (result, file, user_langs) => {
|
||||||
};
|
};
|
||||||
let streamIndex = 0;
|
let streamIndex = 0;
|
||||||
|
|
||||||
//If the original language is pulled as Chinese 'cn' is used. iso-language expects 'zh' for Chinese.
|
// If the original language is pulled as Chinese 'cn' is used. iso-language expects 'zh' for Chinese.
|
||||||
const langsTemp = result.original_language === 'cn' ? 'zh' : result.original_language;
|
const langsTemp = result.original_language === 'cn' ? 'zh' : result.original_language;
|
||||||
|
|
||||||
let langs = [];
|
let langs = [];
|
||||||
|
|
||||||
langs.push(languages.alpha2ToAlpha3B(langsTemp));
|
langs.push(languages.alpha2ToAlpha3B(langsTemp));
|
||||||
|
|
||||||
//Some console reporting for clarification of what the plugin is using and reporting.
|
// Some console reporting for clarification of what the plugin is using and reporting.
|
||||||
response.infoLog += `Original language: ${langsTemp}, Using code: ${languages.alpha2ToAlpha3B(langsTemp)}\n`;
|
response.infoLog += `Original language: ${langsTemp}, Using code: ${languages.alpha2ToAlpha3B(langsTemp)}\n`;
|
||||||
|
|
||||||
if (user_langs) {
|
if (user_langs) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue