tooltip:`Specify language tag/s here for the audio tracks you'd like to keep, recommended to keep "und" as this stands for undertermined, some files may not have the language specified. Must follow ISO-639-2 3 letter format. https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
\\nExample:\\n
eng
\\nExample:\\n
eng,und
\\nExample:\\n
eng,und,jap`
},
@ -27,7 +27,7 @@ function details() {
tooltip:`Specify if audio tracks that contain commentary/description should be removed.
\\nExample:\\n
true
\\nExample:\\n
false`
},
@ -36,7 +36,7 @@ function details() {
tooltip:`Specify a single language for audio tracks with no language or unknown language to be tagged with, leave empty to disable, you must have "und" in your list of languages to keep for this to function. Must follow ISO-639-2 3 letter format. https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
\\nExample:\\n
eng
\\nExample:\\n
por
`
@ -46,7 +46,7 @@ function details() {
tooltip:`Specify audio tracks with no title to be tagged with the number of channels they contain. Do NOT use this with mp4, as mp4 does not support title tags.
\\nExample:\\n
true
\\nExample:\\n
false`
},
@ -70,14 +70,14 @@ function plugin(file, librarySettings, inputs) {
response.infoLog+="☒File is not video \n"
response.processFile=false;
returnresponse
}
}
if(inputs.language==""){
response.infoLog+="☒Language/s keep have not been configured within plugin settings, please configure required options. Skipping this plugin. \n"
response.processFile=false;
returnresponse
}
}
varlanguage=inputs.language.split(",")
varffmpegCommandInsert=''
varconvert=false
@ -106,7 +106,7 @@ function plugin(file, librarySettings, inputs) {
response.infoLog+=`☒Audio stream detected as being Commentary or Description, removing. Audio stream 0:a:${audioIdx} - ${file.ffProbeData.streams[i].tags.title}. \n`
convert=true
@ -120,7 +120,7 @@ function plugin(file, librarySettings, inputs) {
response.infoLog+=`☒Audio stream detected as having unknown language tagged, tagging as ${inputs.tag_language}. \n`
tooltip:`Specify language tag/s here for the subtitle tracks you'd like to keep. Must follow ISO-639-2 3 letter format. https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
\\nExample:\\n
eng
\\nExample:\\n
eng,jap`
},
@ -24,7 +24,7 @@ function details() {
tooltip:`Specify if subtitle tracks that contain commentary/description should be removed.
\\nExample:\\n
true
\\nExample:\\n
false`
},
@ -33,7 +33,7 @@ function details() {
tooltip:`Specify a single language for subtitle tracks with no language or unknown language to be tagged with, leave empty to disable. Must follow ISO-639-2 3 letter format. https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
\\nExample:\\n
eng
\\nExample:\\n
por`
},
@ -58,13 +58,13 @@ function plugin(file, librarySettings, inputs) {
response.processFile=false;
returnresponse
}
if(inputs.language==""){
response.infoLog+="☒Language/s keep have not been configured within plugin settings, please configure required options. Skipping this plugin. \n"
response.processFile=false;
returnresponse
}
}
varlanguage=inputs.language.split(",")
varffmpegCommandInsert=''
varsubtitleIdx=-1
@ -84,7 +84,7 @@ function plugin(file, librarySettings, inputs) {
tooltip:`Specify if any 2.0 audio tracks should be converted to aac for maximum compatability with devices.
\\nExample:\\n
true
\\nExample:\\n
false`
},
@ -24,7 +24,7 @@ function details() {
tooltip:`Specify if downmixing should be used to create extra audio tracks. I.e if you have an 8ch but no 2ch or 6ch, create the missing audio tracks from the 8 ch. Likewise if you only have 6ch, create the missing 2ch from it.
\\nExample:\\n
true
\\nExample:\\n
false`
},
@ -48,8 +48,8 @@ function plugin(file, librarySettings, inputs) {
response.infoLog+="☒File is not video. \n"
response.processFile=false;
returnresponse
}
}
if(inputs.aac_stereo==""&&inputs.downmix==""){
response.infoLog+="☒Neither aac_stereo or downmix options have been configured within plugin settings, please configure required options. Skipping this plugin. \n"
response.processFile=false
@ -68,22 +68,22 @@ function plugin(file, librarySettings, inputs) {