make-only-subtitle-default
HaveAGitGat 6 years ago committed by GitHub
parent aed977d5b9
commit 89ad78d78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ function details() {
id: "Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle", id: "Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle",
Name: "Drawmonster MP4 Stereo AAC, No Subs, No title meta data ", Name: "Drawmonster MP4 Stereo AAC, No Subs, No title meta data ",
Type: "Video", Type: "Video",
Description: `This plugin removes subs, metadata (if a title exists) and adds a stereo AAC track if an AAC track (any) doesn't exist. The output container is mp4. \n\n Description: `This plugin removes subs, metadata (if a title exists) and adds a stereo 192kbit AAC track if an AAC track (any) doesn't exist. The output container is mp4. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle" Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle"
@ -70,7 +70,7 @@ function plugin(file) {
if(!jsonString.includes("aac") && jsonString.includes("subrip")){ if(!jsonString.includes("aac") && jsonString.includes("subrip")){
response.infoLog += "File has no aac track and has subs" response.infoLog += "File has no aac track and has subs"
response.preset = '-sn,-map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 aac -ac 2 ' response.preset = '-sn,-map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 aac -b:a:0 192k -ac 2'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response
@ -103,7 +103,7 @@ function plugin(file) {
if(!jsonString.includes("aac")){ if(!jsonString.includes("aac")){
response.infoLog += " File has no aac track" response.infoLog += " File has no aac track"
response.preset = ',-map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 aac -ac 2 ' response.preset = ',-map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 aac -b:a:0 192k -ac 2'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response

Loading…
Cancel
Save