mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 01:36:08 -07:00
make sure in mp4
This commit is contained in:
parent
448110195b
commit
775adfc2e4
1 changed files with 17 additions and 0 deletions
|
|
@ -141,6 +141,23 @@ function plugin(file) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if( file.container != 'mp4'){
|
||||||
|
|
||||||
|
response.infoLog += " File is not in mp4 container!"
|
||||||
|
response.preset = ', -c:v copy -c:a copy'
|
||||||
|
response.reQueueAfter = true;
|
||||||
|
response.processFile = true;
|
||||||
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
|
response.infoLog += " File is in mp4 container!"
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
response.infoLog += " File meets conditions!"
|
response.infoLog += " File meets conditions!"
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue