`Requeue after` change

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

@ -33,9 +33,7 @@ function plugin(file) {
container: '.mp4', // The container of the transcoded output file. container: '.mp4', // The container of the transcoded output file.
handBrakeMode: false, //Set whether to use HandBrake or FFmpeg for transcoding handBrakeMode: false, //Set whether to use HandBrake or FFmpeg for transcoding
FFmpegMode: false, FFmpegMode: false,
reQueueAfter: false, //If you can't do all tasks in one pass, set this to true. The file will be re-added to the transcode queue reQueueAfter: true, //Leave as true. File will be re-qeued afterwards and pass through the plugin filter again to make sure it meets conditions.
//afterwards for additional processing. See Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle
//In that plugin, several passes are used to remove subs, metadata and add an aac track.
infoLog: '', //This will be shown when the user clicks the 'i' (info) button on a file in the output queue if infoLog: '', //This will be shown when the user clicks the 'i' (info) button on a file in the output queue if
//it has been skipped. //it has been skipped.
// Give reasons why it has been skipped ('File has no title metadata, File meets conditions!') // Give reasons why it has been skipped ('File has no title metadata, File meets conditions!')
@ -65,7 +63,6 @@ function plugin(file) {
response.infoLog += " File has title metadata" response.infoLog += " File has title metadata"
response.preset = ',-map_metadata -1 -c:v copy -c:a copy' response.preset = ',-map_metadata -1 -c:v copy -c:a copy'
response.reQueueAfter = true;
response.processFile = true; response.processFile = true;
return response return response
} else { } else {

Loading…
Cancel
Save