mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Migz Plugins
Change both ffmpeg plugins reQueueAfter to false. These plugins should not need to be requeued and worked on again. Move mkv data stream check to after extraArguments var creation so that it works as intended.
This commit is contained in:
parent
f5c0df216c
commit
8f123d18a2
2 changed files with 12 additions and 12 deletions
|
|
@ -48,7 +48,7 @@ function plugin(file, librarySettings, inputs) {
|
|||
preset: "",
|
||||
handBrakeMode: false,
|
||||
FFmpegMode: true,
|
||||
reQueueAfter: true,
|
||||
reQueueAfter: false,
|
||||
infoLog: "",
|
||||
};
|
||||
|
||||
|
|
@ -62,11 +62,6 @@ function plugin(file, librarySettings, inputs) {
|
|||
response.container = "." + inputs.container;
|
||||
}
|
||||
|
||||
// Check if file is MKV, if so then add extra argument to drop data. MKV does not support data streams.
|
||||
if (inputs.container == "mkv") {
|
||||
extraArguments += "-map -0:d ";
|
||||
}
|
||||
|
||||
// Check if file is a video. If it isn't then exit plugin.
|
||||
if (file.fileMedium !== "video") {
|
||||
response.processFile = false;
|
||||
|
|
@ -111,6 +106,11 @@ function plugin(file, librarySettings, inputs) {
|
|||
}
|
||||
}
|
||||
|
||||
// Check if file is MKV, if so then add extra argument to drop data. MKV does not support data streams.
|
||||
if (inputs.container == "mkv") {
|
||||
extraArguments += "-map -0:d ";
|
||||
}
|
||||
|
||||
// Check if 10bit variable is true.
|
||||
if (inputs.enable_10bit == "true") {
|
||||
// If set to true then add 10bit argument
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ function plugin(file, librarySettings, inputs) {
|
|||
preset: "",
|
||||
handBrakeMode: false,
|
||||
FFmpegMode: true,
|
||||
reQueueAfter: true,
|
||||
reQueueAfter: false,
|
||||
infoLog: "",
|
||||
};
|
||||
|
||||
|
|
@ -62,11 +62,6 @@ function plugin(file, librarySettings, inputs) {
|
|||
response.container = "." + inputs.container;
|
||||
}
|
||||
|
||||
// Check if file is MKV, if so then add extra argument to drop data. MKV does not support data streams.
|
||||
if (inputs.container == "mkv") {
|
||||
extraArguments += "-map -0:d ";
|
||||
}
|
||||
|
||||
// Check if file is a video. If it isn't then exit plugin.
|
||||
if (file.fileMedium !== "video") {
|
||||
response.processFile = false;
|
||||
|
|
@ -111,6 +106,11 @@ function plugin(file, librarySettings, inputs) {
|
|||
}
|
||||
}
|
||||
|
||||
// Check if file is MKV, if so then add extra argument to drop data. MKV does not support data streams.
|
||||
if (inputs.container == "mkv") {
|
||||
extraArguments += "-map -0:d ";
|
||||
}
|
||||
|
||||
// Check if 10bit variable is true.
|
||||
if (inputs.enable_10bit == "true") {
|
||||
// If set to true then add 10bit argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue