aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-file.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts
index 5048cf9b7..0e834aee0 100644
--- a/server/models/video/video-file.ts
+++ b/server/models/video/video-file.ts
@@ -333,6 +333,10 @@ export class VideoFileModel extends Model<VideoFileModel> {
333 return this.size === -1 333 return this.size === -1
334 } 334 }
335 335
336 isHLS () {
337 return this.videoStreamingPlaylistId !== null
338 }
339
336 hasSameUniqueKeysThan (other: MVideoFile) { 340 hasSameUniqueKeysThan (other: MVideoFile) {
337 return this.fps === other.fps && 341 return this.fps === other.fps &&
338 this.resolution === other.resolution && 342 this.resolution === other.resolution &&