I was hoping someone could give me a hand with a problem I’m having with Transmission calling filebot on torrent completion.
I have transmission running on a raspberry pi as root user with my download folder set to my NAS. Upon torrent done I have it set to the following:
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "~/Transmission/Processing/test_script.sh”
Code: Select all
#!/bin/bash
/usr/share/filebot/bin/filebot.sh -script fn:amc -trust-script --output "/home/pi/stora" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y subtitles=en "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
I’ve tried various permutations of “/usr/share/filebot/bin/filebot” with the “.sh” and without, with ~/ and the full path length, and the same for “~/Transmission/Processing/test_script” and none of them have worked. I can get ~/Transmission/Processing/test_script.sh to attempt to run if I put “sudo bash ~/Transmission/Processing/test_script.sh” (I haven’t let it run through as it wouldn’t be able to grab “ut_” references).
I’ve looked through the forum, but haven’t been able to find an answer.
Does anyone have any thoughts?