diff options
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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<VideoModel> { | |||
1715 | return VIDEO_STATES[ id ] || 'Unknown' | 1715 | return VIDEO_STATES[ id ] || 'Unknown' |
1716 | } | 1716 | } |
1717 | 1717 | ||
1718 | isBlacklisted () { | ||
1719 | return !!this.VideoBlacklist | ||
1720 | } | ||
1721 | |||
1718 | getOriginalFile () { | 1722 | getOriginalFile () { |
1719 | if (Array.isArray(this.VideoFiles) === false) return undefined | 1723 | if (Array.isArray(this.VideoFiles) === false) return undefined |
1720 | 1724 | ||