Page 1 of 1

'Auto managed' off automatically on magnet uris

Posted: Thu May 03, 2012 12:52 pm
by progo
Hi everyone,
Now that magnet uris have gained popularity I noticed there's no (obvious) way to make new torrents nonmanaged. It's easy with .torrent files with AutoAdd, but magnet uris are different.

Maybe it's time to make a global setting to disable auto managed functionality if preferred? Or is there a plugin for this. I couldn't find one, though.

TIA

Re: 'Auto managed' off automatically on magnet uris

Posted: Fri May 04, 2012 6:11 pm
by Cas
Autoadd supports magnet uris in a '.magnet' text file so it is still possible to do.

I do not think that libtorrent has a global option to turn it off so it would be on a per torrent basis as the auto add plugin currently implements.

Re: 'Auto managed' off automatically on magnet uris

Posted: Fri May 04, 2012 8:47 pm
by progo
That was news to me, and it seems to work alright. So, thanks :)

I wrote this kind of helper script to make browser handle the uris properly:

Code: Select all

% cat handle_magnets.sh
#!/bin/bash
mf=`tempfile -d /path/to/watchdir/ -s ".magnet"`
echo "$1" > "$mf"