diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-08 15:11:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-08 15:44:41 +0100 |
commit | e612209767ebe1deb0af7688c96b7f979bb52b44 (patch) | |
tree | c5be9241e41a098f5452fe3cd187e2305d8047e3 /server/lib/video-transcoding.ts | |
parent | 440d39c52d4efb878b6a2e21584d6b8f52072f27 (diff) | |
download | PeerTube-e612209767ebe1deb0af7688c96b7f979bb52b44.tar.gz PeerTube-e612209767ebe1deb0af7688c96b7f979bb52b44.tar.zst PeerTube-e612209767ebe1deb0af7688c96b7f979bb52b44.zip |
Try to fix subscriptions inconsistencies
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index 4fd1d62a9..0d5b3ae39 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -206,7 +206,7 @@ async function generateHlsPlaylist (video: MVideoWithFile, resolution: VideoReso | |||
206 | await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile) | 206 | await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile) |
207 | 207 | ||
208 | await newVideoFile.save() | 208 | await newVideoFile.save() |
209 | videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles') as VideoFileModel[] | 209 | videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles') |
210 | 210 | ||
211 | video.setHLSPlaylist(videoStreamingPlaylist) | 211 | video.setHLSPlaylist(videoStreamingPlaylist) |
212 | 212 | ||