Ronald Degmar
2017-02-20 03:29:04 UTC
Hello,
I managed to display information about multiple torrent downloads by using
urdwid python library
http://urwid.org/
However, I need to do a few unit test cases by utilizing only linux
terminal window.
How could I display download information of the multiple torrents by just
printing to the terminal?
In the libtorrent examples, there are sample clients, but they just deal
with one torrent file at the time and need to finish it
in order to display information about the next one.
I tried writing one python thread for each torrent in the torrent handler,
but this doesn't work as you know the libtorrent session is already a single
thread and cannot be split.
What would be the way to go, so I don't break libtorrent thread session?
Thanks,
Ronald Barrios
I managed to display information about multiple torrent downloads by using
urdwid python library
http://urwid.org/
However, I need to do a few unit test cases by utilizing only linux
terminal window.
How could I display download information of the multiple torrents by just
printing to the terminal?
In the libtorrent examples, there are sample clients, but they just deal
with one torrent file at the time and need to finish it
in order to display information about the next one.
I tried writing one python thread for each torrent in the torrent handler,
but this doesn't work as you know the libtorrent session is already a single
thread and cannot be split.
What would be the way to go, so I don't break libtorrent thread session?
Thanks,
Ronald Barrios