macOS GUI client calls script, but it doesn't seem to work

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
booshtukka
Posts: 9
Joined: Thu Oct 30, 2008 4:24 pm

macOS GUI client calls script, but it doesn't seem to work

Post by booshtukka »

Hello.

I have a script that runs FileBot - it runs fine if I just run it in the Terminal. I've set it to run when a torrent is completed via the Mac GUI client.

I've given the entire universe execute permissions to the script.

I see it run in debug: Calling script "/Volumes/Drobo/Video/tidy-video.sh" - but nothing seems to actually *happen*.

It's not to do with the last downloaded torrent or a race condition, because it doesn't work on torrents that have been in the folder from previous downloads either. But it works fine when I just run it from the Terminal.

I'm certain this *used* to work. I don't know what happened that broke it. :(

This is the content of the script:

Code: Select all

#!/bin/sh

filebot -script fn:amc -r --output /Volumes/Drobo/Video/ --action move -non-strict /Volumes/Drobo/Video/Downloads/ --log-file amc.log

filebot -script fn:cleaner /Volumes/Drobo/Video/Downloads/

exit 0
Anyone have any ideas? I'd really appreciate some help. Thank you.
Post Reply