We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e24ea1 commit 6a02130Copy full SHA for 6a02130
src/commands/downloadByChannelLogin.ts
@@ -9,7 +9,7 @@ export const downloadByChannelLogin = async (
9
channelLogin: string,
10
args: AppArgs,
11
) => {
12
- const delay = args['retry-streams'];
+ const delay = args['retry-streams'] || 0;
13
const isLiveFromStart = args['live-from-start'];
14
const isRetry = delay > 0;
15
src/types.ts
@@ -11,7 +11,7 @@ export type AppArgs = Omit<
> & {
downloader: Downloader;
'download-sections': readonly [startTime: number, endTime: number] | null;
- 'retry-streams': number;
+ 'retry-streams': number | undefined;
'merge-method': MergeMethod;
16
};
17
0 commit comments