transmission-daemon with growl support ?
transmission-daemon with growl support ?
i recently switched from rtorrent to transmission-daemon on my headless linux server.
though i came across the idea that the daemon could send notifications to growl... is that already implemented ?
cheers
though i came across the idea that the daemon could send notifications to growl... is that already implemented ?
cheers
Re: transmission-daemon with growl support ?
I just setup my NAS with the daemon and was thinking exactly the same thing.. Another solution would be if the daemon processed a script or executable when the torrents complete or change state, then it would be easy to add this via a script.
-
- Posts: 137
- Joined: Fri Aug 21, 2009 5:46 am
Re: transmission-daemon with growl support ?
This could probably be implemented with a cron job, no need to do it in transmission.
Re: transmission-daemon with growl support ?
That is good and all to say but many of use are not really that good with scripting or linux. How would that work exactly anyway?Longinus00 wrote:This could probably be implemented with a cron job, no need to do it in transmission.
-
- Posts: 137
- Joined: Fri Aug 21, 2009 5:46 am
Re: transmission-daemon with growl support ?
I run linux and can't help you with growl but this shell script is a good starting point if you want to write it.lazybones wrote:That is good and all to say but many of use are not really that good with scripting or linux. How would that work exactly anyway?
http://forum.transmissionbt.com/viewtop ... f=1&t=9085
The major difference is that you'd have to save the current torrent list and states somewhere so you can compare it each time but you could get around that by just removing torrents after you send out a growl notification.
Re: transmission-daemon with growl support ?
That may be possible but hardly seems efficent. If the transmission daemon had the option to call custom scripts and pass parameters you could do far more without the need of diff tables an additional cron jobs.
Re: transmission-daemon with growl support ?
Any sollutions for this ?
All I've found is custom build of transmission daemon, which supports adding torrents with notifications:
https://github.com/liesen/transmission-horn
All I've found is custom build of transmission daemon, which supports adding torrents with notifications:
https://github.com/liesen/transmission-horn
Re: transmission-daemon with growl support ?
ajeto wrote:Any sollutions for this ?
All I've found is custom build of transmission daemon, which supports adding torrents with notifications:
https://github.com/liesen/transmission-horn
This thread is old.. Since transmission 2.xx? there has been a option to call a script when a torrent completes.. I already use it to send notifications.
-
- Posts: 1
- Joined: Tue Dec 28, 2010 4:30 pm
Re: transmission-daemon with growl support ?
@lazybones
Can you post the growl-script please?
Can you post the growl-script please?
Re: transmission-daemon with growl support ?
I have been using prowl or boxcar on my iPhone.If I have time I will post the script, never did set up a plain growl one as I found phone notification more useful.
Re: transmission-daemon with growl support ?
I would use the iPhone script. Please post it!
Re: transmission-daemon with growl support ?
This is a simple one liner for sending a message to prowl.Moe wrote:I would use the iPhone script. Please post it!
I enabled the done script with these two lines in my settings.json, note the path to your script may differ. Also note that transmission will wait for the script to complete before doing anything else. Something small like this script should not be a problem however if your script hangs it can be a problem...
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/home/.config/transmission-daemon/transmission_complete.sh",
Note the /opt/bin part for calling curl is because I am running this on a NAS using optware... you probably just need to call curl directly. It is a good idea to test test the curl line from the console first.. the variables will not be there but you can at least test if your phone is getting a notification... Prowl supports priority so I mark my torrent complete notices as -1 you may want to mark them as more important.
Code: Select all
#!/bin/sh
/opt/bin/curl -k https://prowl.weks.net/publicapi/add -F apikey=[replace with your growl API key] -F priority=-1 -F application="Transmission" -F description="$TR_TORRENT_NAME completed on $TR_TIME_LOCALTIME"
-
- Posts: 1
- Joined: Mon May 30, 2011 4:12 pm
Re: transmission-daemon with growl support ?
@lazybones: Thanks very much for posting your solution. I thought I'd post the version I got to work on my DNS-323, which uses the funplug packages to run Transmission 2.31 and Automatic 0.6.5. Automatic includes Prowl support, so I added the following script as transmission-complete.sh, called from Transmission using the changes to settings.json outlined above. Note that the format has changed in the most recent cURL build:
I ditched the priority tag as it isn't required by the Prowl API.
Best, Mark
Code: Select all
#!/bin/sh
/bin/curl -k -F apikey=[your Prowl API key here] -F application=Transmission -F event="Download Complete" -F description="$TR_TORRENT_NAME completed on $TR_TIME_LOCALTIME" https://api.prowlapp.com/publicapi/add
Best, Mark