Getting torrent stats from deluge daemon - is it possible?
Posted: Wed Jan 19, 2011 12:48 pm
Hi everyone,
Is it possible to get stats like total seeders/leechers from a running deluge daemon? I was thinking of using it instead of asking for the info from the tracker.
(it's an open source add-on product for the Plone CMS which can create multi-tracker torrents, and also seed these torrents automatically from a deluge daemon, so I'ld prefer to get the stats from the daemon than from one of the trackers, as the trackers method of showing stats may vary for each type of tracker).
It's written in python, so is there a way to connect to a running deluge daemon and get the seeders/leechers for a specific torrent (based on the torrent name or something)?
If someone is already doing it in a plugin or in a ui, can you point me to the python file so I can have a look?
Thanks
Is it possible to get stats like total seeders/leechers from a running deluge daemon? I was thinking of using it instead of asking for the info from the tracker.
(it's an open source add-on product for the Plone CMS which can create multi-tracker torrents, and also seed these torrents automatically from a deluge daemon, so I'ld prefer to get the stats from the daemon than from one of the trackers, as the trackers method of showing stats may vary for each type of tracker).
It's written in python, so is there a way to connect to a running deluge daemon and get the seeders/leechers for a specific torrent (based on the torrent name or something)?
If someone is already doing it in a plugin or in a ui, can you point me to the python file so I can have a look?
Thanks