Reply
Thread Tools
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#31
Anyone know how to limit the number of peers QTrapids connects to? On big torrents once connected to the net QTrapids will quickly overload the phone CPU until it reboots.
The fix would probably go into
/home/user/.config/Ixonos/QtRapids.conf
but by default there is no maximum peers option

Last edited by biketool; 2012-04-03 at 13:10.
 
Posts: 64 | Thanked: 19 times | Joined on Dec 2009
#32
The trick with QTrapids is to save the .torrent file to the Micro SD card and get qtrapids to download the torrent files to the Micro SD card also.

As long as you don't use the internal memory, qtrapids works great (phone will be a little sluggish initially for first 5 mins then goes back to normal speed). I'm using KP50 overclocked to 900mhz and I usually get download speeds of around 250kbps.
 

The Following User Says Thank You to wormdrummer For This Useful Post:
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#33
Originally Posted by wormdrummer View Post
The trick with QTrapids is to save the .torrent file to the Micro SD card and get qtrapids to download the torrent files to the Micro SD card also.
The above works but I went another direction since there is still the issue with the high power HD encoding of many media files that is too much for the N900. There is a thread with an on phone solution but it is a hack which includes hand installing files rather than a simple repository based .deb solution, an earlier version left me boot-looped and I had to reflash. http://talk.maemo.org/showthread.php...ght=720p+video

First you need to install Transmission on your server, then you need to fix the login password for transmission by modding some config files.
http://superuser.com/questions/11364...-client-server
Do that and then start transmission-daemon on your server.

Secondly you need to connect to a server, an asset not everyone has but they can even use a Linux laptop at home over DSL or cable and a dyndns.org dynamic domain address, this setup assumes that there is NAT but you have mapped out port 1234 to your server.

Once the server address and Transmission are set up run the below on your client machine or phone, it will forward the 9091 port from the server to your local machine.

ssh -p 1234 -L 9091:localhost:9091 user@whateveryouwant.dyndns.org

then I connect to the transmission web client with whatever web browser by going to http://127.0.0.1:9091 and using the web client to cut/paste the magnet link

The files will go into whatever users download dir you set in the config file (default is /home/$user/download)
You might have to convert your file I use ffmpeg with the ubuntu-restricted-extras so I have all of the codecs I need, go into the download dir, start screen so you can detach for large conversions or batch conversion, and convert like this:

ffmpeg -i some720pvid.mp4.mkb n900vid.avi (or n900talk.mp3)

I actually made scripts to convert many media types to either AVI or MP3 and delete the originals since some talk shows like The Daily Show often work well as podcasts customize as you like and it will convert every file of the type in the directory.

find /home/user/ConvertInbox/ -type f -name "*mp4" -exec ffmpeg -i {} -sameq {}.mp3 \;

The server quickly blasts it with quad core power into a useful format and in a bit I you ready to drink from your home fiber optic 35MB/s firehose!

To make finding and grabbing my files easier I made a directory called Server in /media chmod the permissions and use this script to mount it via sshfs(on the extras rep) to make it appear in the file manager as a Server, I put this in a script in my N900's /home/user:

sudo sshfs -o reconnect,allow_other,uid=1000 -p 1234 user@whateveryouwant.dyndns.org:/../../../../home/user/downloads /media/Server

I find the N900FTP app to be too buggy and unfinished compared to the above solution for browsing files though you can use microM to browse and download files too as they are mounted locally.

Last edited by biketool; 2012-04-27 at 15:08.
 
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#34
Originally Posted by biketool View Post
this setup assumes that there is NAT but you have mapped out port 1234 to your server.

ssh -p 1234 -L 9091:localhost:9091 user@whateveryouwant.dyndns.org
Just to be clear this assumes you have SSH running on port 1234 and you also have mapped port 1234 through the router to your server machine. It would probably be possible to map through to port 22 or port redirect an external to port to 22 for most people.
 
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#35
I would still like a solution when I do need that is better than the zoink.it kludge.
There is this python script here to do just what we want https://github.com/danfolkes/Magnet2Torrent
A great app package would put a mime type in microb and maybe opera and then if a magnet link is clicked will send the script generated .torrent file to QtRapids or our dysfunctional Maemo5 build of Transmission.

Last edited by biketool; 2013-07-27 at 19:01.
 
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#36
It requires python-libtorrent be installed, source below
https://code.google.com/p/python-libtorrent/
and then you can just do this
Code:
python Magnet_To_Torrent2.py "magnet:?xt=urn:btih:49fbd26322960d982da855c54e36df19ad3113b8&dn=ubuntu-12.04-desktop-i386.iso&tr=udp%3A%2F%2Ftracker.openbittorrent.com" ubunut12-04.iso
and send that to your bittorrent download app

For tempory kludge usage there is an online implementation better than zoink.it which requires the torrent be added to the cache, link here http://magnet2torrent.me/

Last edited by biketool; 2013-07-27 at 19:27.
 
Posts: 767 | Thanked: 940 times | Joined on Jan 2011 @ Touring
#37
zoink.it is down so the only know option for N900/Maemo users is now magnet2torrent.
Other options from the top of my head are running transmission inside easydebian, getting that python conversion script to run properly(microb plugin?), or getting the arm bin of current Transmission and running it headless interfacing via the http port.
(edit)
zoink.it is up.

Last edited by biketool; 2014-08-22 at 08:01.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:46.