mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -07:00
Update Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle.js
This commit is contained in:
parent
46c07a5b44
commit
683031e258
1 changed files with 4 additions and 4 deletions
|
|
@ -161,7 +161,7 @@ function plugin(file) {
|
||||||
if(file.meta.Title != "undefined" && hasSubs){
|
if(file.meta.Title != "undefined" && hasSubs){
|
||||||
|
|
||||||
response.infoLog += "☒File has title and has subs \n"
|
response.infoLog += "☒File has title and has subs \n"
|
||||||
response.preset = ',-sn -map_metadata -1 -map 0:v? -map 0:a? -c copy'
|
response.preset = ',-sn -map_metadata -1 -c:v copy -c:a copy'
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
@ -173,7 +173,7 @@ function plugin(file) {
|
||||||
if(file.meta.Title != undefined ){
|
if(file.meta.Title != undefined ){
|
||||||
|
|
||||||
response.infoLog += "☒File has title metadata \n"
|
response.infoLog += "☒File has title metadata \n"
|
||||||
response.preset = ',-map_metadata -1 -map 0:v? -map 0:a? -c copy'
|
response.preset = ',-map_metadata -1 -c:v copy -c:a copy'
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
@ -186,7 +186,7 @@ function plugin(file) {
|
||||||
if(hasSubs){
|
if(hasSubs){
|
||||||
|
|
||||||
response.infoLog += "☒File has subs \n"
|
response.infoLog += "☒File has subs \n"
|
||||||
response.preset = ',-sn -map 0:v? -map 0:a? -c copy'
|
response.preset = ',-sn -c:v copy -c:a copy'
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
@ -199,7 +199,7 @@ function plugin(file) {
|
||||||
|
|
||||||
if( file.container != 'mp4'){
|
if( file.container != 'mp4'){
|
||||||
response.infoLog += "☒File is not in mp4 container! \n"
|
response.infoLog += "☒File is not in mp4 container! \n"
|
||||||
response.preset = ', -map 0:v? -map 0:a? -c copy'
|
response.preset = ', -c:v copy -c:a copy'
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue