mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 18:45:53 -07:00
Formatting update
This commit is contained in:
parent
6467644238
commit
f6b9a1143a
6 changed files with 46 additions and 46 deletions
|
|
@ -39,7 +39,7 @@ function plugin(file) {
|
|||
|
||||
console.log("File is not video")
|
||||
|
||||
response.infoLog += " File is not video"
|
||||
response.infoLog += " File is not video \n"
|
||||
response.processFile = false;
|
||||
|
||||
return response
|
||||
|
|
@ -65,18 +65,18 @@ function plugin(file) {
|
|||
|
||||
if(hasSubs){
|
||||
|
||||
response.infoLog += " File has subs"
|
||||
response.infoLog += " File has subs \n"
|
||||
response.preset = '-sn, -c:v copy -c:a copy'
|
||||
response.reQueueAfter = true;
|
||||
response.processFile = true;
|
||||
return response
|
||||
|
||||
}else{
|
||||
response.infoLog += " File has no subs"
|
||||
response.infoLog += " File has no subs \n"
|
||||
}
|
||||
|
||||
|
||||
response.infoLog += " File meets conditions!"
|
||||
response.infoLog += " File meets conditions! \n"
|
||||
return response
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue