[New] Action: Remux container

make-only-subtitle-default
HaveAGitGat 6 years ago
parent 2d41b20eda
commit 2c26bf3692

@ -0,0 +1,38 @@
function remuxContainer(file, container) {
try {
if (file.container != container) {
var response = {
processFile: true,
note:`File is not in ${container} \\n`
}
return response
} else {
var response = {
processFile: false,
note:`File is already in ${container} \\n`
}
return response
}
} catch (err) {
var response = {
processFile: false,
note:`library.actions.remuxContainer error: ${err.stack} \\n`
}
return response
}
}
module.exports = remuxContainer
Loading…
Cancel
Save