mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -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",
|
name: "wanted_subtitle_languages",
|
||||||
type: 'string',
|
type: 'string',
|
||||||
defaultValue: 'eng,fre',
|
defaultValue: '',
|
||||||
inputUI: {
|
inputUI: {
|
||||||
type: 'text',
|
type: 'text',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,7 @@ const tests = [
|
||||||
+ '• Original Bitrate: 1517\n'
|
+ '• Original Bitrate: 1517\n'
|
||||||
+ '• Target Bitrate: 1517\n'
|
+ '• Target Bitrate: 1517\n'
|
||||||
+ '• Minimum Bitrate: 1061\n'
|
+ '• Minimum Bitrate: 1061\n'
|
||||||
+ '• Maximum Bitrate: 1972\n'
|
+ '• Maximum Bitrate: 1972\n',
|
||||||
+ '\n'
|
|
||||||
+ '☑ No subtitle processing necessary',
|
|
||||||
processFile: true,
|
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',
|
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,
|
reQueueAfter: false,
|
||||||
|
|
@ -47,9 +45,7 @@ const tests = [
|
||||||
+ '• Original Bitrate: 1517\n'
|
+ '• Original Bitrate: 1517\n'
|
||||||
+ '• Target Bitrate: 1517\n'
|
+ '• Target Bitrate: 1517\n'
|
||||||
+ '• Minimum Bitrate: 1061\n'
|
+ '• Minimum Bitrate: 1061\n'
|
||||||
+ '• Maximum Bitrate: 1972\n'
|
+ '• Maximum Bitrate: 1972\n',
|
||||||
+ '\n'
|
|
||||||
+ '☑ No subtitle processing necessary',
|
|
||||||
processFile: true,
|
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',
|
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,
|
reQueueAfter: false,
|
||||||
|
|
@ -62,6 +58,7 @@ const tests = [
|
||||||
inputs: {
|
inputs: {
|
||||||
nvenc: 'false',
|
nvenc: 'false',
|
||||||
qsv: 'true',
|
qsv: 'true',
|
||||||
|
wanted_subtitle_languages: 'eng,fre',
|
||||||
},
|
},
|
||||||
otherArguments: {},
|
otherArguments: {},
|
||||||
},
|
},
|
||||||
|
|
@ -87,7 +84,9 @@ const tests = [
|
||||||
input: {
|
input: {
|
||||||
file: _.cloneDeep(require('../sampleData/media/sampleH265_1.json')),
|
file: _.cloneDeep(require('../sampleData/media/sampleH265_1.json')),
|
||||||
librarySettings: {},
|
librarySettings: {},
|
||||||
inputs: {},
|
inputs: {
|
||||||
|
wanted_subtitle_languages: 'eng,fre',
|
||||||
|
},
|
||||||
otherArguments: {},
|
otherArguments: {},
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue