Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCheck for duplicate torrent #1082
Comments
This comment has been minimized.
This comment has been minimized.
|
Use https://github.com/feross/webtorrent/blob/master/docs/api.md#clientgettorrentid |
This comment has been minimized.
This comment has been minimized.
|
yeah, I use it... line 44... it doesn't work... |
This comment has been minimized.
This comment has been minimized.
|
If you add a torrent type that is async, like an http torrent file, then it's not possible for the client to know what the infohash of the torrent is until it has fetched the torrent file (an async operation). So if you call There's not an easy way for the webtorrent library to fix this issue. |
This comment has been minimized.
This comment has been minimized.
|
ummm maybe I can check the url of the .torrent file... I'll think about it |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Duplicate torrent
https://andreapaiola.name/php-p2p-webtorrent-cdn/multi.php
Uncaught Error: Cannot add duplicate torrent 858155eb96db0008d9e0e720eb20d4db7dd18c77
How can I check if a torrent exists and use it to insert the content in the page? I think that could be useful to insert these in the documentation... thank you!