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
When you add a torrent with add() method, it does not return the torrent object with filelist
you have to fetch the torrent object again with get() method which contains the file list
for example after adding the torrent with :
$tor = $torrent -> add(torrent file);
you cannot get filelist with $tor -> getFiles();
you have to get the $tor object again with :
$tor = $torrent -> get(hash);
then $tor -> getFiles() works
The text was updated successfully, but these errors were encountered:
yes thats what I found out as well. but it should return the file list :/
This is an rpc level issue I guess. nothing can be done about it in transmission without making multiple api calls which I am trying to avoid as it could be time consuming on a busy server when transmission server is across the continent from the control server.
When you add a torrent with add() method, it does not return the torrent object with filelist
you have to fetch the torrent object again with get() method which contains the file list
for example after adding the torrent with :
$tor = $torrent -> add(torrent file);
you cannot get filelist with $tor -> getFiles();
you have to get the $tor object again with :
$tor = $torrent -> get(hash);
then $tor -> getFiles() works
The text was updated successfully, but these errors were encountered: