I need to stop/start download through shell script in Azureus(Vuze). I know there is CLI and I can invoke it as
java -jar Azureus2-XXX.jar --ui=console
The ?
will show a list of commands I can use. To get a list of torrents,
show torrents
etc. But it is CLI. I need shell script to do that so How I can use it to stop/start downloads through shell script?
Is there any way to do that?
This solution works flawlessly
OK. So building up on my previous answer, here is a solution that works right out of the box without any hassle.
First, install this plugin in Vuze: Azureus HTML WebUI
Now, go to your browser and open http://localhost:6886/. This is a web UI for controlling your Vuze. Here, you can see that to pause/resume downloads, you have a link with such URL:
Now, you can simply "click" this url using CURL by making a GET request. Hence, fire up these commands in the terminal for pausing and resuming:
So far I found Flush which has command-line options which does my job but it has very less functionality compared to others.
I use
Flush
to start or stop torrent downloads of running instance through terminal.I can use these options with flush.
note: I didn't find anyway to do this in Vuze.
It can be done in Vuze using a workaround. I haven't tried the solution but it should work.
First, go here: http://plugins.vuze.com/plugin_list.php and look in the "Remote Access" section of Vuze plugins. There are a few plugins here which can help:
I've never used vuze with Ubuntu, but in Windows you highlight the torrent and click stop/start.
Like I said I have only used it with windows.