From ce33919c24e7402d92d81f3cd8e545df52d98240 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 6 Aug 2018 17:13:39 +0200 Subject: Import magnets with webtorrent --- shared/models/videos/video-import-create.model.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models/videos/video-import-create.model.ts') diff --git a/shared/models/videos/video-import-create.model.ts b/shared/models/videos/video-import-create.model.ts index 65d142c2b..e76084e06 100644 --- a/shared/models/videos/video-import-create.model.ts +++ b/shared/models/videos/video-import-create.model.ts @@ -1,6 +1,9 @@ import { VideoUpdate } from './video-update.model' export interface VideoImportCreate extends VideoUpdate { - targetUrl: string + targetUrl?: string + magnetUri?: string + torrentfile?: Blob + channelId: number // Required } -- cgit v1.2.3