aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/helpers/youtube-dl/youtube-dl-wrapper.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/youtube-dl/youtube-dl-wrapper.ts b/server/helpers/youtube-dl/youtube-dl-wrapper.ts
index 3264cc9ff..2c3ba2feb 100644
--- a/server/helpers/youtube-dl/youtube-dl-wrapper.ts
+++ b/server/helpers/youtube-dl/youtube-dl-wrapper.ts
@@ -59,6 +59,8 @@ class YoutubeDLWrapper {
59 processOptions 59 processOptions
60 }) 60 })
61 61
62 if (!Array.isArray(list)) throw new Error(`YoutubeDL could not get list info from ${this.url}`)
63
62 return list.map(info => { 64 return list.map(info => {
63 const infoBuilder = new YoutubeDLInfoBuilder(info) 65 const infoBuilder = new YoutubeDLInfoBuilder(info)
64 66