diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-15 11:37:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-15 11:45:03 +0200 |
commit | 1e2fe802d1f82b81ac30fd9ca267da12f75032a2 (patch) | |
tree | c1d7142f825e277b56b5cd73f9de601ddcb20077 /server/lib/activitypub/videos/shared/abstract-builder.ts | |
parent | 3eb7ee658db32d270553046eeb77afc679a71466 (diff) | |
download | PeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.tar.gz PeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.tar.zst PeerTube-1e2fe802d1f82b81ac30fd9ca267da12f75032a2.zip |
Force live type specification in first step
Diffstat (limited to 'server/lib/activitypub/videos/shared/abstract-builder.ts')
-rw-r--r-- | server/lib/activitypub/videos/shared/abstract-builder.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/videos/shared/abstract-builder.ts b/server/lib/activitypub/videos/shared/abstract-builder.ts index f995fe637..788223b48 100644 --- a/server/lib/activitypub/videos/shared/abstract-builder.ts +++ b/server/lib/activitypub/videos/shared/abstract-builder.ts | |||
@@ -119,7 +119,7 @@ export abstract class APVideoAbstractBuilder { | |||
119 | } | 119 | } |
120 | 120 | ||
121 | protected async setStreamingPlaylists (video: MVideoFullLight, t: Transaction) { | 121 | protected async setStreamingPlaylists (video: MVideoFullLight, t: Transaction) { |
122 | const streamingPlaylistAttributes = getStreamingPlaylistAttributesFromObject(video, this.videoObject, video.VideoFiles || []) | 122 | const streamingPlaylistAttributes = getStreamingPlaylistAttributesFromObject(video, this.videoObject) |
123 | const newStreamingPlaylists = streamingPlaylistAttributes.map(a => new VideoStreamingPlaylistModel(a)) | 123 | const newStreamingPlaylists = streamingPlaylistAttributes.map(a => new VideoStreamingPlaylistModel(a)) |
124 | 124 | ||
125 | // Remove video playlists that do not exist anymore | 125 | // Remove video playlists that do not exist anymore |