aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/youtube-dl/youtube-dl-cli.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/youtube-dl/youtube-dl-cli.ts')
-rw-r--r--server/helpers/youtube-dl/youtube-dl-cli.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl/youtube-dl-cli.ts b/server/helpers/youtube-dl/youtube-dl-cli.ts
index 440869205..559f92984 100644
--- a/server/helpers/youtube-dl/youtube-dl-cli.ts
+++ b/server/helpers/youtube-dl/youtube-dl-cli.ts
@@ -155,7 +155,7 @@ export class YoutubeDLCLI {
155 155
156 const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions) 156 const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions)
157 157
158 logger.debug('Runned youtube-dl command.', { command: output.command, stdout: output.stdout, ...lTags() }) 158 logger.debug('Runned youtube-dl command.', { command: output.command, ...lTags() })
159 159
160 return output.stdout 160 return output.stdout
161 ? output.stdout.trim().split(/\r?\n/) 161 ? output.stdout.trim().split(/\r?\n/)