Kodi Community Forum

Full Version: [LIVE] BitTorrent Client included with XBMC Live CD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have searched the forums and have not heard any talk of a BitTorrent Client sence the port to linux.

I know on the xbox a bittorent client was not possible as it was way to slow.

Would any of the devs be apposed to adding a very light weight bit torrent client to xbmc live?

I know there are python clients out there but i just havent had any luck getting them to work with spyce. Also my python skills are very limited.

It would really be nice to be able to add torrent:// support to xbmc to allow for python scripts to be able to pass torrents to.

Mabee a better idea is to not have the client integrated with xbmc at all but have it running as a deamon process and use a python script to comunicate RPC to give torrent status in a the xbmc gui. This guy has a good example of it:http://www.dennis-kempin.de/python/conce...rrent-api/
Now that i think about it This may be the better way to go.

Eather way transition torrent client would have to be included in the live package.

Any thoughts?
Transmition* bittorrent client
Something like Transmission would be far to heavy for the live cd. rtorrent is probably the only one that would have a chance, though as it sits we have no reason it by default. It isn't the prettiest client for all you GUI users but it's light and fast. You can install applications on live by dropping to a console (ctrl+alt+f1), logging in with user "xbmc" and pass "xbmc", then you can install things via apt-get as usual.

I wouldn't hold my breath for a built in torrent client. Interfaces to clients via web APIs are certainly a possibility. I'm kicking around doing one for rtorrent.
rtorrent looks good.

I guess all we would need is a python script that can work as a gui to rtorrents XML-RPC interface.

If there already is currently one out there please let me know.
Purhaps rtorrent can be added to Torrent-X?

Can this thread be moved to Script request?
While we are on the subject of the concept to include a BitTorrent client XBMC Live CD, I think it would then be very cool to also include TorrentFlux web interface client as well, (since XBMC already have a built-in Web Server), and then add a link to TorrentFlux's Web GUI index page in XBMC's Web Remote Site.

TorrentFlux (or more specifically the TorrentFlux-b4rt fork) would be great for controlling the included BitTorrent client via a web browser.
http://en.wikipedia.org/wiki/TorrentFlux
http://tf-b4rt.berlios.de/

I am not suggesting to include the whole TorrentFlux BitTorrent client, (though that could be possible too instead of rTorrent, TorrentFlux comes with BitTornado by default but it is possible to use other BitTorrent clients as back-end, it even supports Usenet NZB download clients), what I am suggestion is to copy only the web interface client part (the website so to speak) from the TorrentFlux-b4rt fork.

"TorrentFlux is an web-based system for managing BitTorrent file transfers. It is an GPL open source package. Manage all aspects of your torrent transfers through the secure and convenient web interface from anywhere you can get internet access! You can even set your system up to subscribe to (& auto-download) RSS torrent feeds and start your transfers while you're away (during the night, as other transfers finish, or however else you like if you write script!). The transfer themselves are performed on top of a third-party developed BitTorrent client as the back-end downloader, TorrentFlux provides a web interface for these scripts and the ability to manage multiple transfers, users and even protocols (receive completed files via http) all from the Web GUI"

Good idea? Huh

althekiller Wrote:Something like Transmission would be far to heavy for the live cd.
I though Transmission was a very efficient BitTorrent client with a very small memory footprint? I read that rtorrent has more dependencies than transmission, is that correct?

Note though that TorrentFlux can be made to use rtorrent as the back-end:
http://tf-b4rt.berlios.de/forum/index.ph...869.0.html
http://tf-b4rt.berlios.de/forum/index.ph...789.0.html
http://tf-b4rt.berlios.de/forum/index.ph...114.0.html

"rTorrent can be controlled via XML-RPC over SCGI"

nate12o6 Wrote:Purhaps rtorrent can be added to Torrent-X?

Can this thread be moved to Script request?
I suggest you start a new separate thread in the python forum specifically asking for control over that BitTorrent client under XBMC for Linux.
Hi!

As far as I know transmission is one of the lightest torrent clients around. It does not depend on the GUI Frontends which are included by default in Ubuntu, the transmission-daemon itself is really small.

I don't know the xbmc project that good but from my point of view a console client would not satisfy a media center. Integration into the Media Center UI would be the nicest solution for the end user I think.

nate12o6: I wrote that article and released a first prototype of the torrent API for transmission (Have a look at the comments). Basic functionality is fully working but there are some outstanding performance optimization and refactoring tasks.
I would be glad if the API could help implementing a torrent UI for xbmc.

best regards,
Dennis
xardias Wrote:Hi!

As far as I know transmission is one of the lightest torrent clients around. It does not depend on the GUI Frontends which are included by default in Ubuntu, the transmission-daemon itself is really small.

I don't know the xbmc project that good but from my point of view a console client would not satisfy a media center. Integration into the Media Center UI would be the nicest solution for the end user I think.

nate12o6: I wrote that article and released a first prototype of the torrent API for transmission (Have a look at the comments). Basic functionality is fully working but there are some outstanding performance optimization and refactoring tasks.
I would be glad if the API could help implementing a torrent UI for xbmc.

best regards,
Dennis

Very good that there is a python api for it aswell, looks like it could be included as a python script!
If you really plan to use the API feel free to contact me. I can implement suggestions, bugfixes and features as you need.

The package is now registered with PyPi so you can install it with "easy_install PyTorrent"

Edit:
Basic documentation is now available here:
http://www.dennis-kempin.de/pytorrent/
Gamester17 Wrote:
nate12o6 Wrote:Purhaps rtorrent can be added to Torrent-X?

Can this thread be moved to Script request?
I suggest you start a new separate thread in the python forum specifically asking for control over that BitTorrent client under XBMC for Linux.
See => http://forum.xbmc.org/showthread.php?tid=37876 for the python script discussion.

Nod
Torrentflux b4rt looks promising! I like how you can remotly upload torrents from the web server.
CASHMON3Y Wrote:Torrentflux b4rt looks promising! I like how you can remotly upload torrents from the web server.

I agree, it looks like it can be skinned fairly easy as well. I hope this takes off.


Only issue I see with Transmission is that it does not seem to run on windows which might be a concern for some users. However, there are a few windows based torrent clients that will still play nice with Torrentflux.
Rand Al Thor Wrote:I agree, it looks like it can be skinned fairly easy as well. I hope this takes off.


Only issue I see with Transmission is that it does not seem to run on windows which might be a concern for some users. However, there are a few windows based torrent clients that will still play nice with Torrentflux.

I think torrentflux is for linux. At least I know this thread is about the live CD. Although I dont think a webserver would be to hard to port.
TorrentFlux include a few other cool features which would also be very useful for XBMC Live users, such as am integrated file-manager which allows the user to explore the file-system of the host machine and carry out common tasks such as decompressing archives, copying/moving files/directories, and more:
http://tf-b4rt.berlios.de/features.html#filemanager

Rand Al Thor Wrote:it looks like it can be skinned fairly easy as well.
Yes, Torrentflux-b4rt uses a flexible templating engine to allow development of the front-end look and feel; "The torrentflux-b4rt GUI is template driven using the vLib template engine. This allows developers to completely redesign the look and feel of torrentflux-b4rt without having to worry about the underlying PHP codebase.":
http://tf-b4rt.berlios.de/features.html#templating

Rand Al Thor Wrote:Only issue I see with Transmission is that it does not seem to run on windows which might be a concern for some users.
Again, yes Transmission BitTorrent-client comes with TorrentFlux but TorrentFlux uses a front-end/back-end design which means that you can replace the back-end BitTorrent-client (Transmission in this case) with a other BitTorrent-client and still keep the TorrentFlux Web GUI, ...in fact that is all what TorrentFlux is, a Web GUI (which supported controlling many different BitTorrent-clients). See: http://tf-b4rt.berlios.de/features.html#protocols

CASHMON3Y Wrote:I dont think a webserver would be to hard to port.
XBMC already have a built-in Web Server, my suggestion is to use 'rip out' only the Web Site from TorrentFlux and use that with XBMC's existing Web Server of adding another Web Server to XBMC, (it would not be smart to have two Web Server when one will do the job on its own). The only question though is if XBMC current built-in Web Server support the TorrentFlux Web GUI which is PHP and AJAX based: http://tf-b4rt.berlios.de/features.html
While I was extracting it I saw quite a few files with a py extension (Python) but I cant find them in any folders, hmmm. either way that could make it very easy to integrate because XBMC already supports python.
Pages: 1 2