Code: Select all
cd ~/Downloads
transmission $(ls -1 *.torrent | head -1)
Code: Select all
sh <script name>
But I cannot get transmission to run the script when a download completes.
What am I forgetting/missing?
Code: Select all
cd ~/Downloads
transmission $(ls -1 *.torrent | head -1)
Code: Select all
sh <script name>
Code: Select all
#!/bin/bash
cd ~/Downloads
transmission-remote --add "$(ls -1 *.torrent | head -n1)"
If you are using a recent version then you don't need a script for that, the download queue functionality does handle limiting how many torrents are downloaded, and queuing all the rest.goodknight wrote:I'm strapped for bandwidth so I can only download a single torrent at a time
Code: Select all
"download-queue-enabled": true,
"download-queue-size": 3,
...
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
...
"seed-queue-enabled": false,
"seed-queue-size": 10,
Code: Select all
#!/bin/bash
I may be overlooking something or may have a different kind of transmission GUI than what's normal (?, I've got the one that came with Debian 6), but I couldn't find queuing handling in the Preferences. I have yet to set up the remote session capability and haven't seen the features for that yet (I installed the app...next step would be to test it.).the download queue functionality does handle limiting how many torrents are downloaded, and queuing all the rest.
if Debian 6 (squeeze), most likely you are running Transmission GTK v2.03 if you did 'apt-get install' method. The script-done feature was first introduced in v2.00, but then only for the daemon. It wasn't till version 2.20 that all platforms became supported.goodknight wrote:.. I've got the one that came with Debian 6 ..
You are correct.if Debian 6 (squeeze), most likely you are running Transmission GTK v2.03
Code: Select all
dpkg -l transmission
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
ii transmission 2.03-2 lightweight BitTorrent client
Code: Select all
#!/bin/bash
cd /home/wolf/Downloads
transmission $(ls -1 *.torrent | head -1)
as mentioned in my previous comment, transmission GTK v2.03 does not support the script-done feature .. just the transmission-daemon.goodknight wrote:The only thing I can think of is that there may be a bug in 2.03-2 (?) or I'm using the wrong kind of script or there's just something wrong with my syntax. It may just come down to me having to wait until I get enough understanding to fix it. (A directed study though..)
Ooo, right. You did say that. I guess I didn't catch what you meant because the menu item is there in 2.03. Sorry!as mentioned in my previous comment