mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Separate the input and output parameters with <io> (#171)
Commas in filepath will throw an error, use https://github.com/HaveAGitGat/Tdarr/issues/456#issuecomment-894011541
This commit is contained in:
parent
a8d905c820
commit
90261dfac5
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ module.exports.plugin = function plugin(file, librarySettings, inputs, otherArgu
|
||||||
}
|
}
|
||||||
response.infoLog += 'Found subs to extract!\n';
|
response.infoLog += 'Found subs to extract!\n';
|
||||||
|
|
||||||
let command = '-y,';
|
let command = '-y <io>';
|
||||||
for (let i = 0; i < subsArr.length; i += 1) {
|
for (let i = 0; i < subsArr.length; i += 1) {
|
||||||
const subStream = subsArr[i];
|
const subStream = subsArr[i];
|
||||||
let lang = '';
|
let lang = '';
|
||||||
|
|
@ -102,7 +102,7 @@ module.exports.plugin = function plugin(file, librarySettings, inputs, otherArgu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (command === '-y,') {
|
if (command === '-y <io>') {
|
||||||
response.infoLog += 'All subs already extracted!\n';
|
response.infoLog += 'All subs already extracted!\n';
|
||||||
if (inputs.remove_subs === 'no') {
|
if (inputs.remove_subs === 'no') {
|
||||||
response.processFile = false;
|
response.processFile = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue