How to identify a torrent that was loaded through XML-RPC

somus1735

Member
May 25, 2018
833
0
16
Hi,

This question is not related to rutorrent, but this seems to be pretty much the only place to ask question about it.

I'm writing some PHP scripts to manage rtorrent and one of the things I'm doing is loading torrents. However, I'd like to set some custom variables on the torrents I loaded and to identify the torrent that I loaded I need the hash (or another ID). It seems that load, or load_verbose don't return anything. Am I missing something? How do I get the hash of a loaded torrent?