diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-09 11:23:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-09 11:23:02 +0100 |
commit | 6ba93fa6392429f22d338f3cdce50707995ced3b (patch) | |
tree | 58b7ad9976109464d8a70e53c061168747ef5930 /scripts/update-host.ts | |
parent | 2acb622cb8f6b273ba9a03d5e37630d19a3d3e30 (diff) | |
download | PeerTube-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-x | scripts/update-host.ts | 2 |
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 | } |