Hello to everyone.
I have a really strange problem. I was using an older version of filebot with a script launched from transmission. It worked like a charm. Then I bought the App Store version, and realized that it did´t work with te script. Then I installed filebot through brew and modified my script.
The weird part is that if I execute the script, it works, but Transmission is set to execute it after a download completion and it doesn't do anything. Am I missing something on the config? Can I check somewhere for a log? (I think there is none regarding this problem, because I believe it doesn't start at all)
Thank you in advice.
Strange script error
Re: Strange script error
If you've specified a log file in the filebot call but nothing get written it's save to say filebot is not called.
If you want to debug your transmission-postprocess shell script you'll have to add some logging and output redirection in there to see what's going on. Most likely filebot/java is not in the PATH (for the transmission-daemon user) and it's simply erroring out with a "filebot: command not found".
If you want to debug your transmission-postprocess shell script you'll have to add some logging and output redirection in there to see what's going on. Most likely filebot/java is not in the PATH (for the transmission-daemon user) and it's simply erroring out with a "filebot: command not found".
Re: Strange script error
I think that filebot is not called from transmission too, but this happens just before installing filebot from brew cask.
Here I paste my script, to see if there is anything wrong.
#!/bin/bash
filebot -script fn:amc "/Users/MYUSER/Downloads/Transmission" --output "/Volumes/My Book 3 TB" --action move --conflict override -non-strict --def artwork=n --def pushover=EDITED --def subtitles=en --def --lang en --def "seriesFormat=Series/{n}/{'Season '+s}/{n} {s}x{e.pad(2)} - {t}" "movieFormat=Películas/{n} {y}" "animeFormat=Anime/{n}/{n} 1x{e.pad(3)} - {t}"
Thankyou
Here I paste my script, to see if there is anything wrong.
#!/bin/bash
filebot -script fn:amc "/Users/MYUSER/Downloads/Transmission" --output "/Volumes/My Book 3 TB" --action move --conflict override -non-strict --def artwork=n --def pushover=EDITED --def subtitles=en --def --lang en --def "seriesFormat=Series/{n}/{'Season '+s}/{n} {s}x{e.pad(2)} - {t}" "movieFormat=Películas/{n} {y}" "animeFormat=Anime/{n}/{n} 1x{e.pad(3)} - {t}"
Thankyou
Re: Strange script error
I guess if you want to see the console output of that call you'll have to redirect the console output to some file so you can see what's not working. 
@see viewtopic.php?f=3&t=1802#p12015

@see viewtopic.php?f=3&t=1802#p12015
Re: Strange script error
Finally I´ve made it work!
It is a problem on the way I called filebot.
replacing "filebot" with "/opt/homebrew-cask/Caskroom/filebot/4.5.6/FileBot.app/Contents/MacOS/filebot.sh" into the script, and its back on line.
#!/bin/bash
/opt/homebrew-cask/Caskroom/filebot/4.5.6/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc "/Users/MYUSER/Downloads/Transmission" --output "/Volumes/My Book 3 TB" --action move --conflict override -non-strict --def artwork=n --def pushover=EDITED --def subtitles=en --def --lang en --def "seriesFormat=Series/{n}/{'Season '+s}/{n} {s}x{e.pad(2)} - {t}" "movieFormat=Películas/{n} {y}" "animeFormat=Anime/{n}/{n} 1x{e.pad(3)} - {t}"
Thanks anyway
It is a problem on the way I called filebot.
replacing "filebot" with "/opt/homebrew-cask/Caskroom/filebot/4.5.6/FileBot.app/Contents/MacOS/filebot.sh" into the script, and its back on line.
#!/bin/bash
/opt/homebrew-cask/Caskroom/filebot/4.5.6/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc "/Users/MYUSER/Downloads/Transmission" --output "/Volumes/My Book 3 TB" --action move --conflict override -non-strict --def artwork=n --def pushover=EDITED --def subtitles=en --def --lang en --def "seriesFormat=Series/{n}/{'Season '+s}/{n} {s}x{e.pad(2)} - {t}" "movieFormat=Películas/{n} {y}" "animeFormat=Anime/{n}/{n} 1x{e.pad(3)} - {t}"
Thanks anyway