Remove finished torrent script (transmission)
|
25th Feb, 2015, 12:47 AM
Post: #1
|
|||
|
|||
Remove finished torrent script (transmission)
Fellow Xbianians,
I'm searching for a script that removes finished torrents from transmission. I came across some but they are for different devices. script 1 (Click to View) and this (Click to View) I know your gonna say "just use rtorrent!" but i installed koper89's package and is doesn't communicate with SR or CP. I tried changing the socket stuff to ports, per directions in the thread, but this didn't help rutorrent just couldn't find rtorrent anymore. If anyone has any directions on either one, it would be much apreciated. Cheers, Ragman |
|||
25th Feb, 2015, 02:05 AM
Post: #2
|
|||
|
|||
RE: Remove finished torrent script (transmission)
So i've been searching around and tinkered a bit.
this is what i came up with: Code: #!/bin/bash I read somewhere that the script that runs on_Done get fed the torrent var's. so $TR_TORRENT_ID should get the ID from the torrent that triggered the script. |
|||
25th Feb, 2015, 03:22 AM
Post: #3
|
|||
|
|||
RE: Remove finished torrent script (transmission)
Been trying this out but no sigar...
Is there anyway to check if the script is even ran? checked for a log fil but there doesn't seem to be one k made some changes to get a log going to see if the scrip starts. Code: #!/bin/bash if i run the script in terminal it adds a line to the log file. but nothing comes up when a torrent finishes. I checked the settings... its set to true and the path is /home/xbian/t-clean.sh |
|||
25th Feb, 2015, 04:38 AM
Post: #4
|
|||
|
|||
RE: Remove finished torrent script (transmission)
Ha! i got it figured.
*I've stopped the transmission service in putty through the xbian GUI. * Next i've made this script and put it into /home/xbian/t-clean.sh Code: #!/bin/bash * next i've edit the /etc/transmission/settings.json Code: "script-torrent-done-enabled": true, * Start Transmission again in the Xbian GUI now it seems to works like a charm. The longer script in my first post also works. Seems like i just needed to stop transmission before editing the files. Cheers, thnx for the forum space to set up my trail of thoughed. ;P |
|||
« Next Oldest | Next Newest »
|