You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everytime I open a magnet link, I get the following error (right after webtorrent is done fetching metada from peers):
$ webtorrent 'magnet:?xt=urn:btih:2bd9d334e8d1e5bd7768755173222db5c6dea13b&dn=archlinux-2021.07.01-x86_64.iso'
UNEXPECTED ERROR: If this is a bug in WebTorrent, report it!
OPEN AN ISSUE: https://github.com/webtorrent/webtorrent-cli/issues
DEBUG INFO: webtorrent-cli 3.3.1, webtorrent 1.2.0, node v16.4.2, linux x64, exit 1
/usr/lib/webtorrent-cli/bin/cmd.js:468
[].concat(argv.chromecast).find(name => player.name.toLowerCase().includes(name.toLowerCase()))
^
TypeError: Cannot read property 'toLowerCase' of undefined
at /usr/lib/webtorrent-cli/bin/cmd.js:468:91
at Array.find (<anonymous>)
at EventEmitter.<anonymous> (/usr/lib/webtorrent-cli/bin/cmd.js:468:38)
at EventEmitter.emit (node:events:394:28)
at emit (/usr/lib/webtorrent-cli/node_modules/chromecasts/index.js:238:10)
at onanswer (/usr/lib/webtorrent-cli/node_modules/chromecasts/index.js:256:9)
at Array.forEach (<anonymous>)
at EventEmitter.<anonymous> (/usr/lib/webtorrent-cli/node_modules/chromecasts/index.js:276:26)
at EventEmitter.emit (node:events:394:28)
at Socket.<anonymous> (/usr/lib/webtorrent-cli/node_modules/multicast-dns/index.js:49:43)
I'm pretty sure the bug came with a recent update of this package.
What did you expect to happen?
No error.
Are you willing to submit a pull request to fix this bug?
Not that good with nodejs
The text was updated successfully, but these errors were encountered:
I can't seem to reproduce this (it works for me on Arch), however if (argv.chromecast !== false) { does not have the intended behavior. It needs to change to if (argv.chromecast) { and that might be the fix.
What version of this package are you using?
What operating system, Node.js, and npm version?
(I installed webtorrent-cli via the AUR)
What happened?
Everytime I open a magnet link, I get the following error (right after webtorrent is done fetching metada from peers):
I'm pretty sure the bug came with a recent update of this package.
What did you expect to happen?
No error.
Are you willing to submit a pull request to fix this bug?
Not that good with nodejs
The text was updated successfully, but these errors were encountered: