remove torrent
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 8 Jan 2012 13:47:26 +0000 (14:47 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 8 Jan 2012 13:47:26 +0000 (14:47 +0100)
torrent/transmission-client.pl

index 073370c..d7f7647 100755 (executable)
@@ -74,6 +74,12 @@ elsif($action eq 'add') {
        );
 }
 
+elsif($action eq 'remove') {
+       $tc->remove(
+               ids => @ARGV
+       );
+}
+
 else {
     _help();
 }