diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/job-queue/handlers/video-transcoding.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.ts index 9c0b1d1f1..8f88f0a8a 100644 --- a/server/lib/job-queue/handlers/video-transcoding.ts +++ b/server/lib/job-queue/handlers/video-transcoding.ts | |||
@@ -130,6 +130,7 @@ async function onHlsPlaylistGeneration (video: MVideoFullLight, resolution: numb | |||
130 | if (CONFIG.TRANSCODING.WEBTORRENT.ENABLED === false && video.hasWebTorrentFiles() && maxQualityFile.resolution === resolution) { | 130 | if (CONFIG.TRANSCODING.WEBTORRENT.ENABLED === false && video.hasWebTorrentFiles() && maxQualityFile.resolution === resolution) { |
131 | for (const file of video.VideoFiles) { | 131 | for (const file of video.VideoFiles) { |
132 | await video.removeFile(file) | 132 | await video.removeFile(file) |
133 | await video.removeTorrent(file) | ||
133 | await file.destroy() | 134 | await file.destroy() |
134 | } | 135 | } |
135 | 136 | ||