From 5b77537ce54832f47931ba47dc513be2a9197f92 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Jul 2019 12:04:15 +0200 Subject: Correctly notify on auto blacklist --- server/models/video/video.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/models/video/video.ts') diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 443aec9c2..c7f2658ed 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -1715,6 +1715,10 @@ export class VideoModel extends Model { return VIDEO_STATES[ id ] || 'Unknown' } + isBlacklisted () { + return !!this.VideoBlacklist + } + getOriginalFile () { if (Array.isArray(this.VideoFiles) === false) return undefined -- cgit v1.2.3