"On completion" script

Feature requests for the GTK+ version of Transmission
Posts: 1
Joined: Tue Aug 26, 2014 1:40 pm

"On completion" script

Postby Seekme » Tue Aug 26, 2014 1:54 pm

I'm using both Plex and Transmission and currently trying to trigger a script when Transmission is done downloading a torrent.
I changed these settings while transmission was stopped :

Code: Select all

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/var/lib/scripts/triggerplex.sh"

Code: Select all

chmod 777 on triggerplex.sh
chown debian-transmission:debian-transmission triggerplex.sh

triggerplex.sh is working manually but nothing is happening when a torrent is done downloading.

Any idea ?

Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: "On completion" script

Postby rb07 » Wed Aug 27, 2014 9:40 pm

Your script is using programs that are not in its PATH, it doesn't find them.

You should either define PATH at the top of the script, or use the full path of the program(s).

BTW Plex doesn't need anything to work, as long as you have your (whole) configuration right (i.e. Transmission moves the finished download into Plex's library, and Plex has autoupdate set on that library -- but Plex has/had a bug where setting "run a partial scan when changes are detected" didn't work, and prevented the automatic update, the solution was to not set the partial scan, the automatic scan has always worked fine but it does need the intended optimization of the partial scan).

Return to “GTK+ Requests”