aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update-host.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-09 11:23:02 +0100
committerChocobozzz <me@florianbigard.com>2021-12-09 11:23:02 +0100
commit6ba93fa6392429f22d338f3cdce50707995ced3b (patch)
tree58b7ad9976109464d8a70e53c061168747ef5930 /scripts/update-host.ts
parent2acb622cb8f6b273ba9a03d5e37630d19a3d3e30 (diff)
downloadPeerTube-6ba93fa6392429f22d338f3cdce50707995ced3b.tar.gz
PeerTube-6ba93fa6392429f22d338f3cdce50707995ced3b.tar.zst
PeerTube-6ba93fa6392429f22d338f3cdce50707995ced3b.zip
Fix torrent metadata update for hls
Diffstat (limited to 'scripts/update-host.ts')
-rwxr-xr-xscripts/update-host.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
135 for (const file of (playlist?.VideoFiles || [])) { 135 for (const file of (playlist?.VideoFiles || [])) {
136 console.log('Updating fragmented torrent file %s of video %s.', file.resolution, video.uuid) 136 console.log('Updating fragmented torrent file %s of video %s.', file.resolution, video.uuid)
137 137
138 await updateTorrentMetadata(video, file) 138 await updateTorrentMetadata(playlist, file)
139 139
140 await file.save() 140 await file.save()
141 } 141 }