xboxscene.org forums

Pages: 1 [2]

Author Topic: Request: Bitorrent  (Read 64 times)

RcbUK

  • Archived User
  • Full Member
  • *
  • Posts: 113
Request: Bitorrent
« Reply #15 on: August 03, 2004, 06:18:00 AM »

blink.gif
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Request: Bitorrent
« Reply #16 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.
Logged

RcbUK

  • Archived User
  • Full Member
  • *
  • Posts: 113
Request: Bitorrent
« Reply #17 on: August 09, 2004, 10:19:00 AM »

Ok, whos up for porting Bit Torrent then?
Logged

Brouhaha

  • Archived User
  • Full Member
  • *
  • Posts: 213
Request: Bitorrent
« Reply #18 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...
Logged

Disabled

  • Archived User
  • Newbie
  • *
  • Posts: 4
Request: Bitorrent
« Reply #19 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...)
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Request: Bitorrent
« Reply #20 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..
Logged

isaac_24

  • Archived User
  • Full Member
  • *
  • Posts: 177
Request: Bitorrent
« Reply #21 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.
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Request: Bitorrent
« Reply #22 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.
Logged

isaac_24

  • Archived User
  • Full Member
  • *
  • Posts: 177
Request: Bitorrent
« Reply #23 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.
Logged

triggernum5

  • Archived User
  • Hero Member
  • *
  • Posts: 896
Request: Bitorrent
« Reply #24 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..
Logged

isaac_24

  • Archived User
  • Full Member
  • *
  • Posts: 177
Request: Bitorrent
« Reply #25 on: August 19, 2004, 01:45:00 PM »

smile.gif
Logged

skog

  • Archived User
  • Newbie
  • *
  • Posts: 2
Request: Bitorrent
« Reply #26 on: September 01, 2004, 08:35:00 PM »

blink.gif
Logged
Pages: 1 [2]