From 2158ac90341dc3fcae958540de65032da25c8d6e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 14 May 2020 11:10:26 +0200 Subject: Add server plugin filter hooks for import with torrent and url (#2621) * Add server plugin filter hooks for import with torrent and url * WIP: pre and post-import filter hooks * Rebased * Cleanup filters to accept imports Co-authored-by: Chocobozzz --- shared/models/videos/import/video-import-state.enum.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared/models/videos') diff --git a/shared/models/videos/import/video-import-state.enum.ts b/shared/models/videos/import/video-import-state.enum.ts index b178fbf3a..8421b8ca7 100644 --- a/shared/models/videos/import/video-import-state.enum.ts +++ b/shared/models/videos/import/video-import-state.enum.ts @@ -1,5 +1,6 @@ export enum VideoImportState { PENDING = 1, SUCCESS = 2, - FAILED = 3 + FAILED = 3, + REJECTED = 4 } -- cgit v1.2.3