1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Force live type specification in first step

This commit is contained in:
Chocobozzz 2021-10-15 11:37:30 +02:00
parent 3eb7ee658d
commit 1e2fe802d1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
10 changed files with 67 additions and 11 deletions

View file

@ -119,7 +119,7 @@ export abstract class APVideoAbstractBuilder {
}
protected async setStreamingPlaylists (video: MVideoFullLight, t: Transaction) {
const streamingPlaylistAttributes = getStreamingPlaylistAttributesFromObject(video, this.videoObject, video.VideoFiles || [])
const streamingPlaylistAttributes = getStreamingPlaylistAttributesFromObject(video, this.videoObject)
const newStreamingPlaylists = streamingPlaylistAttributes.map(a => new VideoStreamingPlaylistModel(a))
// Remove video playlists that do not exist anymore