mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-18 11:46:25 -07:00
Formatting update
This commit is contained in:
parent
6467644238
commit
f6b9a1143a
6 changed files with 46 additions and 46 deletions
|
|
@ -41,7 +41,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
|
||||
|
|
@ -53,17 +53,17 @@ function plugin(file) {
|
|||
|
||||
if (file.meta.Title != undefined) {
|
||||
|
||||
response.infoLog += " File has title metadata"
|
||||
response.infoLog += " File has title metadata \n"
|
||||
response.preset = ',-map_metadata -1 -c:v copy -c:a copy'
|
||||
response.reQueueAfter = true;
|
||||
response.processFile = true;
|
||||
return response
|
||||
} else {
|
||||
response.infoLog += " File has no title metadata"
|
||||
response.infoLog += " File has no title metadata \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