From 990b6a0b0c4fbebc165e5cf7cec8fbc1cbaa6c66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Aug 2018 09:54:36 +0200 Subject: Import torrents with webtorrent --- server/models/video/video-import.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/models/video') diff --git a/server/models/video/video-import.ts b/server/models/video/video-import.ts index 55fca28b8..d6c02e5ac 100644 --- a/server/models/video/video-import.ts +++ b/server/models/video/video-import.ts @@ -171,7 +171,11 @@ export class VideoImportModel extends Model { return { id: this.id, + targetUrl: this.targetUrl, + magnetUri: this.magnetUri, + torrentName: this.torrentName, + state: { id: this.state, label: VideoImportModel.getStateLabel(this.state) -- cgit v1.2.3