Update config

This commit is contained in:
Izuco 2022-01-15 15:25:45 +01:00
parent 06fbd7a4bc
commit aca06d9a76
No known key found for this signature in database
GPG key ID: E9CBE9E4EF3A1BFA
5 changed files with 2 additions and 9 deletions

View file

@ -1,4 +1,4 @@
videoLayer: 7
q: 0
nServer: 1
mp4mux: false
noCleanUp: false

View file

@ -56,9 +56,6 @@ export default (async () => {
if (argv.allDubs) {
argv.dubLang = langsData.dubLanguageCodes;
}
if (argv.allSubs) {
argv.dlsubs = langsData.languages.map(a => a.code);
}
// select mode
if (argv.silentAuth && !argv.auth) {
await doAuth();

View file

@ -44,7 +44,6 @@ After installing NodeJS with NPM go to directory with `package.json` file and ty
* `--all` download all videos at once
* `--alt` alternative episode listing (if available)
* `--subLang` select one or more subtile language
* `--allSubs` If set to true, all available subs will get downloaded
* `--dub` select one or more dub languages
* `--allDubs` If set to true, all available dubs will get downloaded
* `--simul` force select simulcast version instead of uncut version

View file

@ -61,9 +61,6 @@ export default (async () => {
if (argv.allDubs) {
argv.dubLang = langsData.dubLanguageCodes;
}
if (argv.allSubs) {
argv.dlsubs = langsData.languages.map(a => a.code);
}
// select mode
if (argv.silentAuth && !argv.auth) {
await auth();

View file

@ -3,7 +3,7 @@ import { args, groups } from './module.args';
yargs(process.argv.slice(2));
let argvC: { [x: string]: unknown; username: string|undefined, password: string|undefined, silentAuth: boolean, skipSubMux: boolean, downloadArchive: boolean, addArchive: boolean, but: boolean, auth: boolean | undefined; dlFonts: boolean | undefined; search: string | undefined; 'search-type': string; page: number | undefined; 'search-locale': string; new: boolean | undefined; 'movie-listing': string | undefined; series: string | undefined; s: string | undefined; e: string | undefined; q: number; x: number; kstream: number; partsize: number; hslang: string; dlsubs: string[]; novids: boolean | undefined; noaudio: boolean | undefined; nosubs: boolean | undefined; dubLang: string[]; all: boolean; fontSize: number; allSubs: boolean; allDubs: boolean; timeout: number; simul: boolean; mp4: boolean; skipmux: boolean | undefined; fileName: string; numbers: number; nosess: string; debug: boolean | undefined; nocleanup: boolean; help: boolean | undefined; service: 'funi' | 'crunchy'; update: boolean; fontName: string | undefined; _: (string | number)[]; $0: string; };
let argvC: { [x: string]: unknown; username: string|undefined, password: string|undefined, silentAuth: boolean, skipSubMux: boolean, downloadArchive: boolean, addArchive: boolean, but: boolean, auth: boolean | undefined; dlFonts: boolean | undefined; search: string | undefined; 'search-type': string; page: number | undefined; 'search-locale': string; new: boolean | undefined; 'movie-listing': string | undefined; series: string | undefined; s: string | undefined; e: string | undefined; q: number; x: number; kstream: number; partsize: number; hslang: string; dlsubs: string[]; novids: boolean | undefined; noaudio: boolean | undefined; nosubs: boolean | undefined; dubLang: string[]; all: boolean; fontSize: number; allDubs: boolean; timeout: number; simul: boolean; mp4: boolean; skipmux: boolean | undefined; fileName: string; numbers: number; nosess: string; debug: boolean | undefined; nocleanup: boolean; help: boolean | undefined; service: 'funi' | 'crunchy'; update: boolean; fontName: string | undefined; _: (string | number)[]; $0: string; };
export type ArgvType = typeof argvC;