aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/redundancy
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/redundancy')
-rw-r--r--server/models/redundancy/video-redundancy.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts
index fa96a1e39..c536c288b 100644
--- a/server/models/redundancy/video-redundancy.ts
+++ b/server/models/redundancy/video-redundancy.ts
@@ -651,7 +651,9 @@ export class VideoRedundancyModel extends Model {
651 getVideo () { 651 getVideo () {
652 if (this.VideoFile) return this.VideoFile.Video 652 if (this.VideoFile) return this.VideoFile.Video
653 653
654 return this.VideoStreamingPlaylist.Video 654 if (this.VideoStreamingPlaylist.Video) return this.VideoStreamingPlaylist.Video
655
656 return undefined
655 } 657 }
656 658
657 isOwned () { 659 isOwned () {