aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/hls.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/hls.ts')
-rw-r--r--server/lib/hls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/hls.ts b/server/lib/hls.ts
index c0fc4961a..a9a96dd16 100644
--- a/server/lib/hls.ts
+++ b/server/lib/hls.ts
@@ -19,7 +19,7 @@ async function updateStreamingPlaylistsInfohashesIfNeeded () {
19 await sequelizeTypescript.transaction(async t => { 19 await sequelizeTypescript.transaction(async t => {
20 const videoFiles = await VideoFileModel.listByStreamingPlaylist(playlist.id, t) 20 const videoFiles = await VideoFileModel.listByStreamingPlaylist(playlist.id, t)
21 21
22 playlist.p2pMediaLoaderInfohashes = await VideoStreamingPlaylistModel.buildP2PMediaLoaderInfoHashes(playlist.playlistUrl, videoFiles) 22 playlist.p2pMediaLoaderInfohashes = VideoStreamingPlaylistModel.buildP2PMediaLoaderInfoHashes(playlist.playlistUrl, videoFiles)
23 playlist.p2pMediaLoaderPeerVersion = P2P_MEDIA_LOADER_PEER_VERSION 23 playlist.p2pMediaLoaderPeerVersion = P2P_MEDIA_LOADER_PEER_VERSION
24 await playlist.save({ transaction: t }) 24 await playlist.save({ transaction: t })
25 }) 25 })