From ffc65cbd2a3d8b0b41243baec9936272592137e3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Jan 2020 16:48:05 +0100 Subject: Remove HLS torrents --- shared/extra-utils/videos/videos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index d1ac48292..7a77a03ad 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts @@ -465,7 +465,7 @@ function rateVideo (url: string, accessToken: string, id: number, rating: string function parseTorrentVideo (server: ServerInfo, videoUUID: string, resolution: number) { return new Promise((res, rej) => { const torrentName = videoUUID + '-' + resolution + '.torrent' - const torrentPath = join(root(), 'test' + server.serverNumber, 'torrents', torrentName) + const torrentPath = join(root(), 'test' + server.internalServerNumber, 'torrents', torrentName) readFile(torrentPath, (err, data) => { if (err) return rej(err) -- cgit v1.2.3