From 6ba93fa6392429f22d338f3cdce50707995ced3b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Dec 2021 11:23:02 +0100 Subject: Fix torrent metadata update for hls --- scripts/update-host.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/update-host.ts b/scripts/update-host.ts index f752082fd..66c0137d9 100755 --- a/scripts/update-host.ts +++ b/scripts/update-host.ts @@ -135,7 +135,7 @@ async function run () { for (const file of (playlist?.VideoFiles || [])) { console.log('Updating fragmented torrent file %s of video %s.', file.resolution, video.uuid) - await updateTorrentMetadata(video, file) + await updateTorrentMetadata(playlist, file) await file.save() } -- cgit v1.2.3