mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Merge pull request #344 from buthed010203/patch-1
Remove problematic default value
This commit is contained in:
commit
f1243739af
2 changed files with 7 additions and 8 deletions
|
|
@ -46,7 +46,7 @@ const details = () => {
|
|||
{
|
||||
name: "wanted_subtitle_languages",
|
||||
type: 'string',
|
||||
defaultValue: 'eng,fre',
|
||||
defaultValue: '',
|
||||
inputUI: {
|
||||
type: 'text',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -20,9 +20,7 @@ const tests = [
|
|||
+ '• Original Bitrate: 1517\n'
|
||||
+ '• Target Bitrate: 1517\n'
|
||||
+ '• Minimum Bitrate: 1061\n'
|
||||
+ '• Maximum Bitrate: 1972\n'
|
||||
+ '\n'
|
||||
+ '☑ No subtitle processing necessary',
|
||||
+ '• Maximum Bitrate: 1972\n',
|
||||
processFile: true,
|
||||
preset: ',-map 0 -map -0:d -c:v libx265 -b:v 1517k -minrate 1061k -maxrate 1972k -bufsize 1517k -c:a copy -c:a:0 ac3 -c:s copy -max_muxing_queue_size 4096',
|
||||
reQueueAfter: false,
|
||||
|
|
@ -47,9 +45,7 @@ const tests = [
|
|||
+ '• Original Bitrate: 1517\n'
|
||||
+ '• Target Bitrate: 1517\n'
|
||||
+ '• Minimum Bitrate: 1061\n'
|
||||
+ '• Maximum Bitrate: 1972\n'
|
||||
+ '\n'
|
||||
+ '☑ No subtitle processing necessary',
|
||||
+ '• Maximum Bitrate: 1972\n',
|
||||
processFile: true,
|
||||
preset: '-c:v h264_cuvid,-map 0 -map -0:d -c:v hevc_nvenc -cq:v 19 -b:v 1517k -minrate 1061k -maxrate 1972k -bufsize 1517k -spatial_aq:v 1 -rc-lookahead:v 32 -c:a copy -c:a:0 ac3 -c:s copy -max_muxing_queue_size 4096',
|
||||
reQueueAfter: false,
|
||||
|
|
@ -62,6 +58,7 @@ const tests = [
|
|||
inputs: {
|
||||
nvenc: 'false',
|
||||
qsv: 'true',
|
||||
wanted_subtitle_languages: 'eng,fre',
|
||||
},
|
||||
otherArguments: {},
|
||||
},
|
||||
|
|
@ -87,7 +84,9 @@ const tests = [
|
|||
input: {
|
||||
file: _.cloneDeep(require('../sampleData/media/sampleH265_1.json')),
|
||||
librarySettings: {},
|
||||
inputs: {},
|
||||
inputs: {
|
||||
wanted_subtitle_languages: 'eng,fre',
|
||||
},
|
||||
otherArguments: {},
|
||||
},
|
||||
output: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue