mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
parent
16ad400669
commit
5d34c2152e
2 changed files with 8 additions and 8 deletions
2
funi.js
2
funi.js
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue