Treferwynd / transmission-remote-gtk

Automatically exported from code.google.com/p/transmission-remote-gtk
GNU General Public License v2.0
0 stars 0 forks source link

Actions when I select several torrents #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have added the next action:
transmission-remote %{hostname}:%{port} -t %{id} --move %{download-dir}/borrar

If I select several torrents and I click this action, on pop-up menu, it's 
executed in first selected torrent, but not in remains selected torrents.

Original issue reported on code.google.com by si...@simonbcn.net on 26 Nov 2011 at 9:01

GoogleCodeExporter commented 9 years ago
You should be able to use a repeater modifier on the ID variable, to generate a 
comma seperated list.

transmission-remote %{hostname}:%{port} -t %{id}[,] --move 
%{download-dir}/borrar

The good thing about this is it will run in one command. See this script for 
another example:

http://code.google.com/p/transmission-remote-gtk/source/browse/trunk/extra/tpull
.sh

Original comment by a...@eth0.org.uk on 26 Nov 2011 at 9:41

GoogleCodeExporter commented 9 years ago
ok, the solution is really simply and it works (thanks!), but I think that 
"[,]" shouldn't be necessary. The actions should be general by default.
When I define one action this should be repeated for each selected torrent. 

Original comment by si...@simonbcn.net on 26 Nov 2011 at 9:48

GoogleCodeExporter commented 9 years ago
In any case, although perhaps this is not the right place, I am delighted with 
this program. ;-)

Original comment by si...@simonbcn.net on 26 Nov 2011 at 9:49