[REQUEST] Full BitTorrent client as a python script for XBMC?
#31
Install XDSL as an app. I have Skype running on my Xbox using linux.
Reply
#32
I think we can use some boxee files for downloading torrents from xbmc gui.

What we need:
boxee-rtorrent (binary file from boxee source, in bin-linux folder)
rtorrent.rc.linux (settings file from boxee source, in system folder)
RTorrent script(for controling rtorrent program)
Torrent plugin (for searching and downloading torrent files from internet)

Concept:
We must start boxee-rtorrent with xbmc. I'm not sure how we can do that. Maybe with autoexec.py or inside Torrent plugin (or with this init file). After that searching and downloading torrents from Torrent plugin. In rtorrent rc file we have "Watch a directory for new torrents" setting parameter. rtorrent watch ~/.xbmc/torrent directory and start download automatically. When it finishes files moved on ~/.xbmc/downloads/.


I made Video plugin for downloading torrent files from eztv.it & thepiratebay.Its very dirty plugin. I cant figure it out how can i download torrent files to ~/.xbmc/torrent folder. (look at "def addLink" param.)

Second problem RTorrent skin not compatible with PM3.HD skin. Need some modification.

Files:
http://ankara.baskent.edu.tr/~obaskin/XB...e-rtorrent
http://ankara.baskent.edu.tr/~obaskin/XB...torrent.rc
(rtorrent looking to home folder for settings file. it must be place to "~/" i'm not sure if there is an option for settings file directory)
http://ankara.baskent.edu.tr/~obaskin/XB...orrent.zip
http://ankara.baskent.edu.tr/~obaskin/XB...default.py

This is very handy feature. Is it worth to try? or just waiting devs to porting boxee torrent capability.

I'm not a coder, i cant do that with my own. Smile
Reply
#33
It was an option when xbmc was xbox only, never really caught on.

Try Googling Pytorrent, it`s another option rather than waiting for Boxee porting.
Reply
#34
AFAIK, there's nothing special about their rtorrent install. You'd just need to rip out all the custom skin stuff, the xmlrpc bits should work fine with out messing. rTorrent is *nix only though so be ready to add support for some popular win32 client when the whining starts :p
Reply
#35
I found this python package for transmission.
http://pypi.python.org/pypi/transmissionrpc/0.3
http://bitbucket.org/blueluna/transmissionrpc/wiki/Home

http://coldstar.net/transmission/doc/0.3/
http://coldstar.net/transmission/doc/0.3...onrpc.html

Maybe someone want to look at it.
Reply
#36
hmmm nice, its working good.

example code:
Code:
def addToTransmission(url):
        xbmcgui.Dialog().ok("Transmission", "Torrent Added to Transmission", url)
        tc = transmissionrpc.Client('localhost', port=9091, user=None, password=None)
        tc.add_url(url)
Reply
#37
Just so I can understand this completely:

BitTorrent was originally written 100% in Python, yes? But there are no "XBMC-native" BitTorrent (protocol) + control clients?

What are the primary obstacles here? Combining this with, say, a Torrent search engine, would be massively awesome.
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Full BitTorrent client as a python script for XBMC?0