diff options
Diffstat (limited to 'server/models/video/video-file.ts')
-rw-r--r-- | server/models/video/video-file.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts index 0e834aee0..a130317f6 100644 --- a/server/models/video/video-file.ts +++ b/server/models/video/video-file.ts | |||
@@ -334,7 +334,7 @@ export class VideoFileModel extends Model<VideoFileModel> { | |||
334 | } | 334 | } |
335 | 335 | ||
336 | isHLS () { | 336 | isHLS () { |
337 | return this.videoStreamingPlaylistId !== null | 337 | return !!this.videoStreamingPlaylistId |
338 | } | 338 | } |
339 | 339 | ||
340 | hasSameUniqueKeysThan (other: MVideoFile) { | 340 | hasSameUniqueKeysThan (other: MVideoFile) { |