Fix uploading hls caption after transcoding

This commit is contained in:
Chocobozzz
2026-05-29 12:38:56 +02:00
parent c5b553147d
commit f78c01f0b5
+2
View File
@@ -74,6 +74,8 @@ export async function createAllCaptionPlaylistsOnFSIfNeeded (video: MVideo) {
for (const caption of captions) {
if (caption.m3u8Filename) continue
// If object storage is enabled, the move to object storage job will upload the playlist on the fly
if (CONFIG.OBJECT_STORAGE.ENABLED) continue
try {
caption.m3u8Filename = await upsertCaptionPlaylistOnFS(caption, video)