projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84ebcf3
)
Fix re running HLS transcoding
author
Chocobozzz
<me@florianbigard.com>
Thu, 12 Mar 2020 14:37:28 +0000
(15:37 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 12 Mar 2020 14:37:28 +0000
(15:37 +0100)
server/lib/video-transcoding.ts
patch
|
blob
|
history
diff --git
a/server/lib/video-transcoding.ts
b/server/lib/video-transcoding.ts
index ab1e917f3dce4f6a46ac87af46be36bea3f1913f..dcda82e0a169ad549813062cd68eada603662181 100644
(file)
--- a/
server/lib/video-transcoding.ts
+++ b/
server/lib/video-transcoding.ts
@@
-207,7
+207,7
@@
async function generateHlsPlaylist (video: MVideoWithFile, resolution: VideoReso
await createTorrentAndSetInfoHash(videoStreamingPlaylist, newVideoFile)
- await
newVideoFile.save(
)
+ await
VideoFileModel.customUpsert(newVideoFile, 'streaming-playlist', undefined
)
videoStreamingPlaylist.VideoFiles = await videoStreamingPlaylist.$get('VideoFiles')
video.setHLSPlaylist(videoStreamingPlaylist)