aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index 4bb438e57..e557fe722 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -249,6 +249,8 @@ class WebTorrentPlugin extends Plugin {
249 options: PlayOptions, 249 options: PlayOptions,
250 done: Function 250 done: Function
251 ) { 251 ) {
252 if (!magnetOrTorrentUrl) return this.fallbackToHttp(options, done)
253
252 console.log('Adding ' + magnetOrTorrentUrl + '.') 254 console.log('Adding ' + magnetOrTorrentUrl + '.')
253 255
254 const oldTorrent = this.torrent 256 const oldTorrent = this.torrent