PDA

View Full Version : Torrent app?


elwood
2005-12-06, 18:39
Is there a bit torrent client in the works? Is that even possible on the 770 at all? Seeing that my desktop is loud as hell and seeing that because of my rather slow connection I often leave my pc running over night I'd love to use the nokia for torrents.

henry
2005-12-06, 18:55
If you are looking for a quiet device, maybe you should consider the Linksys NSLU2. In can run ctorrent on it.

http://www.nslu2-linux.org/wiki/HowTo/SetupCTorrent

I'll try and see if I can compile ctorrent on the 770 later on :)

henry
2005-12-06, 22:06
I've downloaded the code from sourceforge and applied patches from this site http://www.rahul.net/dholmes/ctorrent/#download

Compiled and it works! :)

I've attachmet the binary file. (I need to find out how to make an installer package...)

Anyway, to run: unzip and copy the file to the 770. You need xterm to start the application:

./ctorrent -p 6881 <torrent file>

Update: removed zip file since deb package is available

teemu
2005-12-07, 07:20
Very nice! :D

I've been sort of waiting to get bittorrent and was waiting for a working version of python (pymaemo (http://pymaemo.sf.net) ) to get it, but seems like I don't have to. Nice job henry! Installer package would be of course nice. GUI would also be nice, but maybe that's asking a bit too much for now. ;)

henry
2005-12-31, 14:53
Installer package can be downloaded from http://www.xs4all.nl/~erica78/henry/ctorrent/files/

It will install the binary in /var/lib/install/usr/bin so to use the program use need to start xterm and type:

/var/lib/install/usr/bin/ctorrent -p 6881 <torrent file>

Michael Russell
2005-12-31, 17:33
henry --

Thank you very much for taking the time to put this install package together.

As a complete unix novice though I have not the faintest idea what I am doing! I have managed to get both xterm and the ctorrent app installed though.

All I wanted bittorrent for was to download "top Gear" videos so that I can watch them while I travel, as I spend a lot of time inthe air.

I started by downloading bittorrent to my PC, and dowonloading the videos to my PC, and then transfering them to the 770. Problem is, the video player does not recignize the file type, even though my PC is telling me it is an AVI. My assumption at this point is that I needed a bittorrent client to play the videos.

As you can see, at this point I am VERY confused. Should I re-download the video directly, using ctorrent, and if so, how do I do that? All I see is a text input screen....

I am sure you have figured out by now, I am a bit over my head here. If you can get me pointed in the right direction, I would be greatfull. If it is going to involve too much of your time, dont worry about it, I will give up on the idea.

Thanks

Michael

henry
2005-12-31, 17:45
Hi Michael,

You don't need to re-download the video. All you need is to convert the video to a format that the device recognize. Please take a look at this thread: http://www.internettablettalk.com/forums/showthread.php?t=569&highlight=video+encode

The latest version of the converter can be found in the software section.

Regards,

Henry

Michael Russell
2005-12-31, 18:56
henry --

Man that is PERFECT!! Works brilliantly. I have just discovered bittorrent, (I mean I have known about it for some time, but never used it), its like rediscovering the internet all over again., Now this 770 is REALLY going to be fun!

Thanks a million

Michael

fpp
2006-01-01, 15:04
Very nice! :D
I've been sort of waiting to get bittorrent and was waiting for a working version of python (pymaemo (http://pymaemo.sf.net) ) to get it, but seems like I don't have to. Nice job henry! Installer package would be of course nice. GUI would also be nice, but maybe that's asking a bit too much for now. ;)
Maybe someone could also port rTorrent (http://libtorrent.rakshasa.no/)
It is efficient compiled code like ctorrent but with a user interface (not a GUI, a text-mode UI based on curses, running in xterm) that lets you manage multiple torrents, add/delete, etc. Very useful.

All this means we'll soon need a SCREEN port too :-)

henry
2006-01-01, 21:04
rtorrent seems to be a lot better than ctorrent! A lot more functionality. I downloaded it just now and it compiles inside scratchbox just fine. I'll test it on the device later on this week. Maybe, we can have an installer package sometime soon ;)

GNU Screen is listed as WIP on the application catalog, so I assume someone is already working on it.

fpp
2006-01-01, 22:32
Great news both !

dreaming
2006-01-08, 02:53
I just added an entry to the iTt wiki under internet on how to do this. Henry, I linked in your deb download there, so if that's not appropriate, please let me know or edit the wiki accordingly.

One question, when I use ctorrent, it downloads my file successfully and continues to sit there. I have to ctrl+c it to get back to an xterm prompt. Is this normal?

henry
2006-01-08, 18:04
I ran into some trouble with rtorrent :( It builds fine inside scratchbox, but it generates a segmentation fault on the device when I add a torrent. I also tried the latest version from SVN. The same result. I'm afraid debugging will take some time...

@dreaming
It's ok to link to the deb file.

Also, I think it's normal behaviour for ctorrent to continue after finish downloading. I think it just continues as seed. (upload to other people)

Rakshasa
2006-01-14, 04:43
You propably need to configure with the "--enable-aligned" flag when compiling in a sandbox, as the check will fail.

henry
2006-01-14, 17:36
@Rakshasa

Thanx for the advice, but I've already tried that option. Still seg. fault.

I do think I have found the source of the problem. In the code the function snprintf is used and sometimes the size param gets a negative value. It causes memory corruption.

johsua
2006-07-10, 22:45
Henry-

Any chance that you are working on porting ctorrent to the 2006OS?

phi
2006-09-08, 20:58
so I just installed this on OS2006 but its not under /var/lib/install/

Any ideas where it actually gets installed to?

johsua
2007-04-09, 01:15
Any chance ctorrent can be compiled for the n800? or is the an alternate program now available?

henry
2007-04-09, 09:27
It should compile on n800 just fine. I'll take a look at it later today.

henry
2007-04-09, 21:09
Updated 770 & N800 version:

http://internettablets.googlepages.com/enhancedctorrent

johsua
2007-04-09, 22:44
Henry,

you rock

Rocketman
2007-04-10, 01:47
Very cool, Henry! With every successive application, I keep seeing the N800 much more in terms of being a pocket-able desktop than a PDA.

steve001
2007-08-07, 11:49
is there anything a tiny bit more friendly? I mean, the torrents I download have super long names and if I miss a dash somewhere it won't work."

is there anything where it will open the torrent automatically?

zerojay
2007-08-07, 13:23
is there anything a tiny bit more friendly? I mean, the torrents I download have super long names and if I miss a dash somewhere it won't work."

is there anything where it will open the torrent automatically?

Use the tab key to autocomplete the file name in Xterm.

steve001
2007-08-07, 19:40
so i gave in and am trying ctorrent. but how do i set it to go? i mean where do i download my torrent file to so i can access it in xterm?

Serge
2007-11-24, 21:38
Just to give it a try, compiled and run transmission (http://transmission.m0k.org/) bittorrent client. It seems to be usable on N800. Maybe someone will be interested in properly packaging it for maemo.