xboxscene.org forums

OG Xbox Forums => Software Forums => Xbox Homebrew Software => Topic started by: RcbUK on July 26, 2004, 07:10:00 AM

Title: Request: Bitorrent
Post by: RcbUK on July 26, 2004, 07:10:00 AM
This would be a great idea, all you would have to do is FTP the .torrent file to your xbox and then download it on your Xbox rather than having a slow pc!

I'm sure the source code is available for BT... anyone up for this?
Title: Request: Bitorrent
Post by: Baner on July 26, 2004, 07:27:00 AM
Try the python script for XBMP, check out the XBMP for the website.  <
Title: Request: Bitorrent
Post by: RcbUK on July 26, 2004, 08:59:00 AM
What? I'm not guna try porting it, i'm asking if anyone will because of how good it will be.  <
Title: Request: Bitorrent
Post by: Reaper527 on July 26, 2004, 10:42:00 AM
i don't think you understand what he is saying, he is saying try the python script for xbmc, that means it works, run it through xbmc.  <
Title: Request: Bitorrent
Post by: RcbUK on July 27, 2004, 09:22:00 AM
Oh right..how do you do that?

I've looked on here in the download section and can't find anything...

Any pointers anyone?

This post has been edited by RcbUK on Jul 27 2004, 04:26 PM
Title: Request: Bitorrent
Post by: Lukenatme on July 27, 2004, 06:07:00 PM
Here.

http://xbmc.evo-x.de/script.html
Title: Request: Bitorrent
Post by: Reaper527 on July 28, 2004, 07:07:00 PM
here is another link with it, this one has 2 differant scripts for it
http://www.gueux.net/xbmc-scripts/

This post has been edited by Reaper527 on Jul 29 2004, 02:07 AM
Title: Request: Bitorrent
Post by: RcbUK on July 30, 2004, 09:28:00 AM
Ok, thanks for the help so far. I have now copied the files into "scripts" in XBMC, when i go onto my xbox, open XBMC, click 'general' then click on the bit torrent script, it says 'select a torrent' and it does not let me choose one ! It's just a blank screen. Any ideas?  sad.gif
Title: Request: Bitorrent
Post by: RcbUK on July 30, 2004, 10:55:00 AM
Ok, that's it, I give up :P

Seriously, I think it would be a good idea for someone to properly port this as it would be easier than all these 'scripts'

Thanks.
Title: Request: Bitorrent
Post by: RcbUK on August 01, 2004, 03:05:00 AM
'Bump'  <
Title: Request: Bitorrent
Post by: heinrich on August 01, 2004, 07:34:00 AM
QUOTE (RcbUK @ Jul 30 2004, 01:55 PM)
Ok, that's it, I give up :P

Seriously, I think it would be a good idea for someone to properly port this as it would be easier than all these 'scripts'

Thanks.

 you cant simply "port" something written in another language, and I dont see anyone taking the time to write a bit torrent client for the xbox.
Title: Request: Bitorrent
Post by: xbox_Steve on August 01, 2004, 12:23:00 PM
QUOTE (RcbUK @ Jul 30 2004, 05:31 PM)
Ok, thanks for the help so far. I have now copied the files into "scripts" in XBMC, when i go onto my xbox, open XBMC, click 'general' then click on the bit torrent script, it says 'select a torrent' and it does not let me choose one ! It's just a blank screen. Any ideas?  :(

 do u have the torrent files in ur xbox?
i don't really know and have wanted to try this but i am assuming u need those
someone correct me if i'm wrong, but i don't really understand this either
thanks
 :uhh:
Title: Request: Bitorrent
Post by: ZeBadger on August 01, 2004, 01:24:00 PM
There is already a client that's written in c here http://ctorrent.sourceforge.net/ already exists.  I imagine that it wouldn't be *too* difficult for someone brainy to recompile for xbox and add a gui.

This post has been edited by ZeBadger: Aug 1 2004, 08:27 PM <
Title: Request: Bitorrent
Post by: RcbUK on August 01, 2004, 04:01:00 PM
QUOTE (ZeBadger @ Aug 1 2004, 10:21 PM)
There is already a client that's written in c here http://ctorrent.sourceforge.net/ already exists.  I imagine that it wouldn't be *too* difficult for someone brainy to recompile for xbox and add a gui.

Thankyou, my point exactly  smile.gif
Title: Request: Bitorrent
Post by: Lukenatme on August 01, 2004, 08:46:00 PM
I believe someone's already compiled it & is set to release it. :unsure:

Problem is, they aren't very brainy. :lol:  

This post has been edited by Lukenatme on Aug 2 2004, 03:47 AM
Title: Request: Bitorrent
Post by: RcbUK on August 03, 2004, 06:18:00 AM
blink.gif
Title: Request: Bitorrent
Post by: triggernum5 on August 03, 2004, 02:33:00 PM
Depending on the version of the bittorrent script you have, you may be able to browse the internet for torrents right in the script.  You also will need to create a directory to put torrents in.  You can ftp torrents to the xbox and load them from this directory.  (View bittorrent.py for instructions on creating the torrent directory etc) You either need a torrent in the directory or download one from the internet.  It does work, I've used it lots.  I actually wrote a small part of it.
Title: Request: Bitorrent
Post by: RcbUK on August 09, 2004, 10:19:00 AM
Ok, whos up for porting Bit Torrent then?
Title: Request: Bitorrent
Post by: Brouhaha on August 09, 2004, 11:47:00 AM
QUOTE (RcbUK @ Aug 9 2004, 01:22 PM)
Ok, whos up for porting Bit Torrent then?

I doubt many developpers will want to put the efforts for a few reasons:

1) There is already a script and it works fine
2) What are you gonna share through bittorrent with your peers? Pictures of yourself?
3) Just use the PC, which is by far more appropriate for the task.

Still not satisfied?  Take two or threeyears of your life to become a decent C/C++ programmer.  Spend 1 more gaining experience in DirectX.  come back here and let me know if a bittorrent client for the xbox would be your pet project...
Title: Request: Bitorrent
Post by: Disabled on August 11, 2004, 04:46:00 PM
cool.gif change <<destination = 'F:\\Media\\Download\\'>> to your likings. Remember to use double slashs for your folder separation. This is the destination folder, where the downloaded files are stored. Remember to use a drive with enough space
c) change <<dirselect = 'E:\\test\\'>>  to the folder where you have stored your .torrent files
d) change <<maxuploadrate = 0>> to what you want, 0 equals unlimited
the rest is irrelevant and does not need a change (at least not for me)

5) (optional) go to the BitTorrent subfolder and open the download.py in an editor
a) search (F3) the string "minport" (without the quotation marks) and edit the number after it to the beginning of the port range your client should connect with
cool.gif a bit further in the file, right after maxport, there is the maximum port, usable by the client.

If you have problems connecting to the tracker and it keeps telling you "port 6881 rejected by tracker" or similar, you have to do step 5). If you don`t know shit about ports, edit it to something like this:
('minport', 5981, 'minimum port to listen on, counts up if unavailable'),
   ('maxport', 5999, 'maximum port to listen on')

6) now youre done. Open up a ftp connection to your box, navigate to your XBMC folder, open the scripts subfolder and put the bitxbox.py and the BitTorrent subfolder on your box.

7) in XBMC go to settings -> general -> scripts -> bitbox.py and hit the a button

8) BitBox should start to download the .torrent file given in 4 a) or let you select a file from the folder specified in 4c) if you let 4a) free.
If you don't see anything, you might have specified an empty (or invalid?) folder in 4c)

Hope this helps a bit (especially the part 5) is usefull if you have to change your port, as you have to search this information inside the files...)
Title: Request: Bitorrent
Post by: triggernum5 on August 12, 2004, 09:39:00 AM
sad.gif  (The site constantly changes things that require script updating.)  But a much more convenient way to launch torrents is to ftp torrent files to the dirselect folder, and browse all the torrents in that directory from the script.  Changing the hardcoded file is tedious.  
If the version you have does not have these features, PM me..
Title: Request: Bitorrent
Post by: isaac_24 on August 12, 2004, 04:12:00 PM
I haven't been able get the file select dialog to work. I get a module dialog doesn't exist or something. The direct path to the torrent file works though. Would appreciate any help.
Title: Request: Bitorrent
Post by: triggernum5 on August 12, 2004, 07:28:00 PM
What module doesn't exist?  What version of xbmc are you running..  I imagine everyone has a new enough version by now, but I can't be sure..  I believe you need atleast 05/09 to have the correct python modules, but I haven't been playing with that code for quite awhile so I have to refamiliarize myself with it.
Title: Request: Bitorrent
Post by: isaac_24 on August 12, 2004, 08:37:00 PM
Sorry about that. I'm using XBMC 8-07. I get this:

File 'Q:\scripts\bitxbox\bitxbox.py'. line 67. in ?
   dialog = xbmcgui.Dialog()
AttributeError: 'module' object has no attribute 'Dialog'

Something like that anyway. This is also using Bitxbox 1.4.
Title: Request: Bitorrent
Post by: triggernum5 on August 13, 2004, 08:41:00 AM
smile.gif  I haven't installed that version yet, but I was looking at the changelog and saw alot of changes to pythons controls such as that.  I will install it and see if I get the same issue..
Title: Request: Bitorrent
Post by: isaac_24 on August 19, 2004, 01:45:00 PM
smile.gif
Title: Request: Bitorrent
Post by: skog on September 01, 2004, 08:35:00 PM
blink.gif