ActivityPub-federated video streaming platform using P2P directly in your web browser
Correctly remove torrents with HLS only
Chocobozzz7e3592d70bb7
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.tsindex 9c0b1d1f16..8f88f0a8a8 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: numbif (CONFIG.TRANSCODING.WEBTORRENT.ENABLED === false && video.hasWebTorrentFiles() && maxQualityFile.resolution === resolution) {for (const file of video.VideoFiles) {await video.removeFile(file)+ await video.removeTorrent(file)await file.destroy()}