Map correction and link update

make-only-subtitle-default
HaveAGitGat 6 years ago
parent ecb96676bc
commit 2c7c85d28d

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes metadata (if a title exists). The output container is mp4. \n\n Description: `This plugin removes metadata (if a title exists). The output container is mp4. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_a37x_Drawmonster_MP4_No_Title_Meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_a37x_Drawmonster_MP4_No_Title_Meta.js"
} }
} }
@ -63,7 +63,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 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes into H264 using HandBrake's 'Very Fast 1080p30' preset if the file is not in H264 already. It 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 Description: `This plugin transcodes into H264 using HandBrake's 'Very Fast 1080p30' preset if the file is not in H264 already. It 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_a8hc_HaveAGitGat_HandBrake_H264_VeryFast1080p30" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_a8hc_HaveAGitGat_HandBrake_H264_VeryFast1080p30.js"
} }
} }
@ -88,7 +88,7 @@ function plugin(file) {
if((file.meta.Title != "undefined") && !jsonString.includes("aac") && hasSubs){ if((file.meta.Title != "undefined") && !jsonString.includes("aac") && hasSubs){
response.infoLog += "☒File has title metadata and no aac and subs \n" response.infoLog += "☒File has title metadata and no aac and subs \n"
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -109,7 +109,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 -c:v copy -c:a copy' response.preset = ',-sn -map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -122,7 +122,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 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -147,7 +147,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.infoLog += "☒File has subs \n" response.infoLog += "☒File has subs \n"
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes into H264 using HandBrake's 'Fast 1080p30' preset if the file is not in H264 already. It 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 Description: `This plugin transcodes into H264 using HandBrake's 'Fast 1080p30' preset if the file is not in H264 already. It 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_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30.js"
} }
} }
@ -88,7 +88,7 @@ function plugin(file) {
if((file.meta.Title != "undefined") && !jsonString.includes("aac") && hasSubs){ if((file.meta.Title != "undefined") && !jsonString.includes("aac") && hasSubs){
response.infoLog += "☒File has title metadata and no aac and subs \n" response.infoLog += "☒File has title metadata and no aac and subs \n"
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -109,7 +109,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 -c:v copy -c:a copy' response.preset = ',-sn -map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -122,7 +122,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 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true
@ -147,7 +147,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.infoLog += "☒File has subs \n" response.infoLog += "☒File has subs \n"
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
response.FFmpegMode = true response.FFmpegMode = true

@ -10,7 +10,7 @@ function details() {
Description: `If the file is not in h265 it will be trancoded into h265 with HandBrake using the following command '-e x265 -q 22 --encoder-preset slow --all-audio --all-subtitles copy:aac -E fdk_aac -Q 4 -x aq-mode=3'. If no aac, aac track will be added. Subtitles are kept. Metadata is removed.\n\n Description: `If the file is not in h265 it will be trancoded into h265 with HandBrake using the following command '-e x265 -q 22 --encoder-preset slow --all-audio --all-subtitles copy:aac -E fdk_aac -Q 4 -x aq-mode=3'. If no aac, aac track will be added. Subtitles are kept. Metadata is removed.\n\n
`, `,
Version: "1.01", Version: "1.01",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: ` If the file has surround sound tracks not in ac3, they will be converted to ac3. \n\n Description: ` If the file has surround sound tracks not in ac3, they will be converted to ac3. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_b39x_the1poet_surround_sound_to_ac3" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_b39x_the1poet_surround_sound_to_ac3.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 480p mkv. \n\n Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 480p mkv. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_e3jc_Tharic_H.264_MKV_480p30_No_Subs_No_Title_Meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_e3jc_Tharic_H.264_MKV_480p30_No_Subs_No_Title_Meta.js"
} }
} }
@ -89,7 +89,7 @@ function plugin(file) {
if(file.meta.Title != "undefined" && hasSubs){ if(file.meta.Title != "undefined" && hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -map_metadata -1 -c:v copy -c:a copy' response.preset = ',-sn -map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -105,7 +105,7 @@ function plugin(file) {
if(file.meta.Title != undefined ){ if(file.meta.Title != undefined ){
response.processFile = true; response.processFile = true;
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -122,7 +122,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -139,7 +139,7 @@ function plugin(file) {
response.processFile = true; response.processFile = true;
response.preset = ', -c:v copy -c:a copy' response.preset = ', -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 720p mkv. \n\n Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 720p mkv. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_e3jd_Tharic_H.264_MKV_720p30_No_Subs_No_Title_Meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_e3jd_Tharic_H.264_MKV_720p30_No_Subs_No_Title_Meta.js"
} }
} }
@ -89,7 +89,7 @@ function plugin(file) {
if(file.meta.Title != "undefined" && hasSubs){ if(file.meta.Title != "undefined" && hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -map_metadata -1 -c:v copy -c:a copy' response.preset = ',-sn -map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -105,7 +105,7 @@ function plugin(file) {
if(file.meta.Title != undefined ){ if(file.meta.Title != undefined ){
response.processFile = true; response.processFile = true;
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -122,7 +122,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -139,7 +139,7 @@ function plugin(file) {
response.processFile = true; response.processFile = true;
response.preset = ', -c:v copy -c:a copy' response.preset = ', -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 1080p mkv. \n\n Description: `This plugin removes subs, metadata (if a title exists) and makes sure the video is h264 1080p mkv. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_e3je_Tharic_H.264_MKV_1080p30_No_Subs_No_Title_Meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_e3je_Tharic_H.264_MKV_1080p30_No_Subs_No_Title_Meta.js"
} }
} }
@ -89,7 +89,7 @@ function plugin(file) {
if(file.meta.Title != "undefined" && hasSubs){ if(file.meta.Title != "undefined" && hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -map_metadata -1 -c:v copy -c:a copy' response.preset = ',-sn -map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -105,7 +105,7 @@ function plugin(file) {
if(file.meta.Title != undefined ){ if(file.meta.Title != undefined ){
response.processFile = true; response.processFile = true;
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -122,7 +122,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.processFile = true; response.processFile = true;
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true
@ -139,7 +139,7 @@ function plugin(file) {
response.processFile = true; response.processFile = true;
response.preset = ', -c:v copy -c:a copy' response.preset = ', -map 0 -c copy'
response.container = '.mkv' response.container = '.mkv'
response.handBrakeMode =false response.handBrakeMode =false
response.FFmpegMode = true response.FFmpegMode = true

@ -10,7 +10,7 @@ function details() {
Description: `This plugin for 4K video removes subs. If no AC3 track exists, it adds one (max 5.1 channels). If only an AC3 commentary track exists, it adds a new AC3 main track (max 5.1 channels). The output container is the same as the original file. \n\n Description: `This plugin for 4K video removes subs. If no AC3 track exists, it adds one (max 5.1 channels). If only an AC3 commentary track exists, it adds a new AC3 main track (max 5.1 channels). The output container is the same as the original file. \n\n
`, `,
Version: "1.04", Version: "1.04",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes subs, metadata (if a title exists) and adds a stereo 192kbit AAC track if an AAC track (English or 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 (English or any) doesn't exist. The output container is mp4. \n\n
`, `,
Version: "1.04", Version: "1.04",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes 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 Description: `This plugin removes 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.01", Version: "1.01",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_hk76_GilbN_MP4_AAC_No_metaTitle" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_hk76_GilbN_MP4_AAC_No_metaTitle.js"
} }
} }
@ -55,7 +55,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 = ', -c:v copy -c:a copy' response.preset = ', -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response
@ -69,7 +69,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 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response

@ -10,7 +10,7 @@ function details() {
Description: `This plugin removes metadata (if a title exists). The output container is the same as the original. \n\n Description: `This plugin removes metadata (if a title exists). The output container is the same as the original. \n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_a37x_Drawmonster_MP4_No_Title_Meta" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_nc7x_Drawmonster_No_Title_Meta.js"
} }
} }
@ -54,7 +54,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 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes all 4K videos to h265 using nvenc (if not in h265 already). For 4K and files in other resolutions: If not in mkv the file is remuxed into mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n Description: `This plugin transcodes all 4K videos to h265 using nvenc (if not in h265 already). For 4K and files in other resolutions: If not in mkv the file is remuxed into mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_s710_nick_h265_nvenc_4K" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_s710_nick_h265_nvenc_4K.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes all videos to h265 (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n Description: `This plugin transcodes all videos to h265 (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_s7x8_winsome_h265" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_s7x8_winsome_h265.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes all videos to h265 10 bit (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n Description: `This plugin transcodes all videos to h265 10 bit (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_s7x9_winsome_h265_10bit" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_s7x9_winsome_h265_10bit.js"
} }
} }

@ -10,7 +10,7 @@ function details() {
Description: `This plugin transcodes all videos to h265 using nvenc (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n Description: `This plugin transcodes all videos to h265 using nvenc (if not in h265 already) and remuxes if not in mkv. If the English language track is not in AC3,EAC3 or DTS then an AC3 track is added.\n\n
`, `,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_s7x9_winsome_h265_nvenc" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_s7x9_winsome_h265_nvenc.js"
} }
} }

@ -9,7 +9,7 @@ function details() {
Type: "Video", Type: "Video",
Description: `This plugin removes subs. The output container is the same as the original. \n\n`, Description: `This plugin removes subs. The output container is the same as the original. \n\n`,
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_x7ab_Remove_Subs" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_x7ab_Remove_Subs.js"
} }
} }
@ -66,7 +66,7 @@ function plugin(file) {
if(hasSubs){ if(hasSubs){
response.infoLog += "☒File has subs \n" response.infoLog += "☒File has subs \n"
response.preset = ',-sn -c:v copy -c:a copy' response.preset = ',-sn -map 0 -c copy'
response.reQueueAfter = true; response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response

@ -9,7 +9,7 @@ function details() {
Operation: "Remux", Operation: "Remux",
Description: "If detected, closed captions (XDS,608,708) will be removed.", Description: "If detected, closed captions (XDS,608,708) will be removed.",
Version: "1.00", Version: "1.00",
Link: "https://github.com/HaveAGitGat/Tdarr_Plugin_x7ac_Remove_Closed_Captions" Link: "https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_x7ac_Remove_Closed_Captions.js"
} }
@ -52,7 +52,7 @@ function plugin(file) {
response = { response = {
processFile : true, processFile : true,
preset : ',-codec copy -bsf:v "filter_units=remove_types=6"', preset : ',-map 0 -codec copy -bsf:v "filter_units=remove_types=6"',
container : '.' + file.container , container : '.' + file.container ,
handBrakeMode : false, handBrakeMode : false,
FFmpegMode : true, FFmpegMode : true,

Loading…
Cancel
Save