aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index 8b5690cea..656a32f49 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -233,6 +233,10 @@ class WebTorrentPlugin extends Plugin {
233 return this.torrent 233 return this.torrent
234 } 234 }
235 235
236 getCurrentVideoFile () {
237 return this.currentVideoFile
238 }
239
236 private addTorrent ( 240 private addTorrent (
237 magnetOrTorrentUrl: string, 241 magnetOrTorrentUrl: string,
238 previousVideoFile: VideoFile, 242 previousVideoFile: VideoFile,