Assistance with AMC Transmission
Posted: 30 Apr 2015, 15:09
I know there are tons of posts about this and I have done my due diligence and tried almost everything I can think of to get this to work. I hate not being able to figure this out on my own but after many hours of trying and failing, I need some assistance.
I am on ReadyNAS Ultra 4 running OS6 - I followed the instructions on the Netgear wiki to upgrade and everything is working fine. I had issues with the add-on that they provide so I installed on my own and have Transmssion running, it's version is 2.52 and I am able to download, start/stop daemon, edit settings.json, etc. I also installed java manually and Filebot version 4.5.6 64bit debian and it is working correctly when running manually.
My setup is as follows:
Json.settings (these were updated after stopping daemon and they hold)
"watch-dir": "/data/Documents/transmission/configure/transmission-postprocess.sh",
"watch-dir-enabled": true
The shell script and directory have owner debian-transmission and group debian-transmission and the script is as follows:
#!/bin/bash
filebot -script fn:amc --output "/data/Videos" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
My download directory is 777 and I set umask to 0 in settings file. I have enabled logging in the daemon and can see that transmission is calling the script, but nothing happens.
Some things I am planning to try this evening:
Review transmission-daemon user, I believe it is debian-transmission but I'm going to review the transmission-daemon file for the user field.
In my reading I saw one user using /usr/share/filebot/bin/filebot.sh -script in their shell script so I'm going to give that a try as well, maybe the shell script doesn't know where to call filebot?
I'm also planning on running a test script that is a simple echo "hello" txt just to make sure transmission is actually calling the script.
Any help is greatly appreciated, I've been trying to get this working for days now.
I am on ReadyNAS Ultra 4 running OS6 - I followed the instructions on the Netgear wiki to upgrade and everything is working fine. I had issues with the add-on that they provide so I installed on my own and have Transmssion running, it's version is 2.52 and I am able to download, start/stop daemon, edit settings.json, etc. I also installed java manually and Filebot version 4.5.6 64bit debian and it is working correctly when running manually.
My setup is as follows:
Json.settings (these were updated after stopping daemon and they hold)
"watch-dir": "/data/Documents/transmission/configure/transmission-postprocess.sh",
"watch-dir-enabled": true
The shell script and directory have owner debian-transmission and group debian-transmission and the script is as follows:
#!/bin/bash
filebot -script fn:amc --output "/data/Videos" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
My download directory is 777 and I set umask to 0 in settings file. I have enabled logging in the daemon and can see that transmission is calling the script, but nothing happens.
Some things I am planning to try this evening:
Review transmission-daemon user, I believe it is debian-transmission but I'm going to review the transmission-daemon file for the user field.
In my reading I saw one user using /usr/share/filebot/bin/filebot.sh -script in their shell script so I'm going to give that a try as well, maybe the shell script doesn't know where to call filebot?
I'm also planning on running a test script that is a simple echo "hello" txt just to make sure transmission is actually calling the script.
Any help is greatly appreciated, I've been trying to get this working for days now.