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
Users often want to save a .torrent file for torrents added via magnet link.
There is no problem to do this for v1 torrents once the metadata (info-section) is received.
But for v2/hybrid torrents, we have to wait until all the piece hashes are also available, and we don't have a clear indication of this event.
P.S. To be honest, I have no idea of any straightforward way to save .torrent file for v2 torrents. Right now we are relying on the torrent finished event, after which we request torrent_file_with_hashes, which I don't like because it is a blocking call. In addition, we use create_torrent in a deprecated way, which will become unavailable later (BTW, torrent_file_with_hashes should also be deprecated). Otherwise, we should wait for the torrent to finish, then request resume data, and wait for the appropriate alert (along the way, filtering out such alerts that may have been requested earlier than the torrent was finished).
The text was updated successfully, but these errors were encountered:
Users often want to save a .torrent file for torrents added via magnet link.
There is no problem to do this for v1 torrents once the metadata (info-section) is received.
But for v2/hybrid torrents, we have to wait until all the piece hashes are also available, and we don't have a clear indication of this event.
P.S. To be honest, I have no idea of any straightforward way to save .torrent file for v2 torrents. Right now we are relying on the torrent finished event, after which we request
torrent_file_with_hashes
, which I don't like because it is a blocking call. In addition, we usecreate_torrent
in a deprecated way, which will become unavailable later (BTW,torrent_file_with_hashes
should also be deprecated). Otherwise, we should wait for the torrent to finish, then request resume data, and wait for the appropriate alert (along the way, filtering out such alerts that may have been requested earlier than the torrent was finished).The text was updated successfully, but these errors were encountered: