aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/hls.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/hls.ts')
-rw-r--r--server/lib/hls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/hls.ts b/server/lib/hls.ts
index 9ea83f337..ef489097a 100644
--- a/server/lib/hls.ts
+++ b/server/lib/hls.ts
@@ -111,7 +111,7 @@ function downloadPlaylistSegments (playlistUrl: string, destinationDir: string,
111 111
112 logger.info('Importing HLS playlist %s', playlistUrl) 112 logger.info('Importing HLS playlist %s', playlistUrl)
113 113
114 return new Promise<string>(async (res, rej) => { 114 return new Promise<void>(async (res, rej) => {
115 const tmpDirectory = join(CONFIG.STORAGE.TMP_DIR, await generateRandomString(10)) 115 const tmpDirectory = join(CONFIG.STORAGE.TMP_DIR, await generateRandomString(10))
116 116
117 await ensureDir(tmpDirectory) 117 await ensureDir(tmpDirectory)