maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How can you download magnet links with N900? (https://talk.maemo.org/showthread.php?t=82669)

maemouser1 2012-02-29 06:17

How can you download magnet links with N900?
 
Most websites are now moving to magnet links instead if torrent files. Anyone knows how you can download using these links with the N900?

Thanks

maemouser1 2012-02-29 19:47

Re: How can you download magnet links with N900?
 
Bump. Anyone please?

biketool 2012-03-05 11:50

Re: How can you download magnet links with N900?
 
I think a person would have to edit the mime type to have the web browser send the file to transmission. I am trying to figure that out now, havent had to hack around with mime settings since the early 90's.

biketool 2012-03-05 12:26

Re: How can you download magnet links with N900?
 
I installed dbus-switchboard which I hoped work as this is where .bittorrent files are handled, unfortunately since a magnet link is not a file but a type of URL I am not sure how to add it as a mime type.
So I installed browser-switchboard that doesn't help it just chooses default web browser.
It looked like if I could figure out a right click in about:config I could configure it but Holding the stylus in place just doesn't seem to work, this link explains the procedure, the browser works just like Firefox in this respect, so this IS the fix if you can get it to happen.
http://www.lamolabs.org/blog/7949/on...link-on-linux/
The issue is that I cant get the popup menu to fully show though it sticks in place when I pull other menus over it, white and unclickable.
in the end I edited /home/user/.mozilla/microb/prefs.js WITH THE BROWSER TURNED OFF.
after the line
<i>user_pref("network.protocol-handler.expose-all", true);</i>
I added
<i>user_pref("network.protocol-handler.expose.magnet", false);</i>
although it is smarter to add the <i>user_pref("network.protocol-handler.expose.magnet", false);</i> line in user.js in the same dir and then reboot the phone as I really scared myself by switching "network.protocol-handler.expose-all" to false and making it so I could not click on any links! Mozilla based browsers like Microb will add changes form user.js to prefs.js on restart of the browser(rebooting phone is best IMHO).
got some of this infro from http://wiki.maemo.org/MicroB_tweaks

At this point I still need to figure out how to get microb to see the magnet link as something to open with transmission but I will leave this for now as notes. Probably very simple for someone who knows how.

biketool 2012-03-05 13:27

Re: How can you download magnet links with N900?
 
So when I click on a magnet link it does nothing as apparently there is no GUI in Microb to set new applications for new URL types. I believe I am 90% there but since this is a service link that must be passed not a file I have no idea where to go from here, truth is I have no idea how my laptop passes off magnet links which look like this one on for Ubuntu 10.04.4, all of the tracking info is inside the link as well as a hash which I think is used to find and join the swarm.

magnet:?xt=urn:btih:b7c71bc56ddb06a2018eb1e37622eb 021e5117bb&dn=ubuntu-10.04.4-desktop-i386.iso&tr=udp%3A%2F%2Ftracker.openbittorrent.com %3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr= udp%3A%2F%2Ftracker.ccc.de%3A80

biketool 2012-03-05 13:59

Re: How can you download magnet links with N900?
 
I suppose a reasonable question is that since the maintainer of Transmission left the project sometime after a Maemo build of the October 2009 version 1.76 I am not sure how useful magnet links would be as the old DHT and PEX seem to have trouble joining trackerless swarms even with .torrent files especially behind NAT or with ISP filtering, this is not a problem with newer builds. I see mention of several people building V2.03 or V2.11 on the thread link below but not able to share since they are not the now moved on package maintainer.
http://talk.maemo.org/showthread.php?t=58952

biketool 2012-03-05 14:47

Re: How can you download magnet links with N900?
 
So on a desktop machine I can take the magnet link and right click to save the URL. In Microb there is no option to save the URL to clipboard.
Maybe if you had another browser installed you could do like this in the sh terminal
$ transmission
magnet:?xt=urn:btih:b7c71bc56ddb06a2018eb1e37622eb 021e5117bb&dn=ubuntu-10.04.4-desktop-i386.iso&tr=udp%3A%2F%2Ftracker.openbittorrent.com %3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr= udp%3A%2F%2Ftracker.ccc.de%3A80
It worked on my Ubuntu netbook with Transmission 1.93.

biketool 2012-03-05 15:05

Re: How can you download magnet links with N900?
 
Transmission v1.76 is too old to handle magnet links which I tried to pass over SSH, transmission starts but no torrent.
The Debian chroot runs transmission v1.22, even older and it also will not do magnet links it is the newest version for that repo.
I think the only hope is to figure out a java client or have someone smart find the almost finished source for the newer v2.03 and v2.12 transmission from OptX that never quite made the repos and then make magnet links work with microb. That work is here http://talk.maemo.org/showthread.php?t=58952&page=11

Taking a break for now, it could be I am seriously wrong in any or all of the above thread, I am a low level hack Linux user not any kind of dev.

Estel 2012-03-05 16:52

Re: How can you download magnet links with N900?
 
You can always use Chromium or Iceweasel via EasyDebian, for that purpose.

/Estel

biketool 2012-03-05 17:08

Re: How can you download magnet links with N900?
 
Estel,
Even if I do run transmission with the magnet link on the N900 with a script I made on my laptop it still only loads transmission but cant handle the magnet link so just shows idle.


All times are GMT. The time now is 09:59.

vBulletin® Version 3.8.8