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