Fixed mkvmerge in #63 and cli-defaults in #62

This commit is contained in:
KX-Apple 2021-05-05 17:23:32 +02:00
parent 16ad400669
commit 5d34c2152e
2 changed files with 8 additions and 8 deletions

View file

@ -656,7 +656,7 @@ async function downloadStreams(){
mkvmux.push('-o',`${muxTrg}.mkv`);
mkvmux.push('--no-date','--disable-track-statistics-tags','--engage','no_variable_data');
mkvmux.push('--track-name',`0:[${argv.ftag}]`);
mkvmux.push('--language',`1:${langCode}`);
mkvmux.push('--language',`0:${langCode}`);
if(plAud.uri){
mkvmux.push('--video-tracks','0','--no-audio');
mkvmux.push('--no-subtitles','--no-attachments');

View file

@ -37,7 +37,13 @@ const appArgv = (cfg) => {
group: 'Downloading:',
describe: 'Used to download all episodes from the show',
type: 'boolean',
default: false
default: cfg.all || false
})
.option('partsize', {
group: 'Downloading:',
describe: 'The amount of parts that should be downloaded in paralell',
type: 'number',
default: cfg.partsize || 10
})
// quality
.option('q', {
@ -180,12 +186,6 @@ const appArgv = (cfg) => {
describe: 'Show this help',
type: 'boolean'
})
.option('partsize', {
group: 'Downloading:',
describe: 'The amount of parts that should be downloaded in paralell',
type: 'number',
default: 10
})
// usage
.example([
['$0 --search "My Hero"', 'search "My Hero" in title'],