diff options
Diffstat (limited to 'shared/server-commands/videos')
-rw-r--r-- | shared/server-commands/videos/streaming-playlists-command.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/server-commands/videos/streaming-playlists-command.ts b/shared/server-commands/videos/streaming-playlists-command.ts index 950808b60..e7448aa69 100644 --- a/shared/server-commands/videos/streaming-playlists-command.ts +++ b/shared/server-commands/videos/streaming-playlists-command.ts | |||
@@ -14,7 +14,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
14 | withRetry?: boolean // default false | 14 | withRetry?: boolean // default false |
15 | currentRetry?: number | 15 | currentRetry?: number |
16 | }): Promise<string> { | 16 | }): Promise<string> { |
17 | const { videoFileToken, reinjectVideoFileToken, withRetry, currentRetry = 1 } = options | 17 | const { videoFileToken, reinjectVideoFileToken, withRetry = false, currentRetry = 1 } = options |
18 | 18 | ||
19 | try { | 19 | try { |
20 | const result = await unwrapTextOrDecode(this.getRawRequest({ | 20 | const result = await unwrapTextOrDecode(this.getRawRequest({ |
@@ -51,7 +51,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
51 | withRetry?: boolean // default false | 51 | withRetry?: boolean // default false |
52 | currentRetry?: number | 52 | currentRetry?: number |
53 | }) { | 53 | }) { |
54 | const { withRetry, currentRetry = 1 } = options | 54 | const { withRetry = false, currentRetry = 1 } = options |
55 | 55 | ||
56 | try { | 56 | try { |
57 | const result = await unwrapBody<Buffer>(this.getRawRequest({ | 57 | const result = await unwrapBody<Buffer>(this.getRawRequest({ |
@@ -85,7 +85,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
85 | withRetry?: boolean // default false | 85 | withRetry?: boolean // default false |
86 | currentRetry?: number | 86 | currentRetry?: number |
87 | }) { | 87 | }) { |
88 | const { withRetry, currentRetry = 1 } = options | 88 | const { withRetry = false, currentRetry = 1 } = options |
89 | 89 | ||
90 | try { | 90 | try { |
91 | const result = await unwrapBodyOrDecodeToJSON<{ [ id: string ]: string }>(this.getRawRequest({ | 91 | const result = await unwrapBodyOrDecodeToJSON<{ [ id: string ]: string }>(this.getRawRequest({ |