X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fupdate-host.ts;h=66c0137d926c357f23876b4ff00acbc8a7c614d7;hb=cea093bca5b9d311b5c1d0539d53e965c901015b;hp=f752082fd0f4e8408c43cf0a50d19866493c0cd9;hpb=9b293cd6a2ce9ed1e1ccd41adbf7f2dbe2da8231;p=github%2FChocobozzz%2FPeerTube.git 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() }