Hello. I've been using Filebot successfully on an iMac and Win8 machine for a long time, and it has been fantastic. Thank you!
I've just traded my old iMac for a newer iMac, and am having a problem getting the amc script to execute.
I installed filebot on the new Yosemite iMac using Homebrew Cask as recommended here (viewtopic.php?f=4&t=2049). I also installed Java 8.
Filebot GUI runs fine, but I cannot get the amc script to run. I have tried it both as a called script in Transmission and running it manually in the terminal windows. I have tried both my old script from the prior iMac and the generic script that you kindly provided on your AMC page (modified for my file locations). The Transmission script and the manual terminal command both appear to run, but give the following log/error output:
Parameter: excludeList = amc.txt
Argument: /opt/homebrew-cask/Caskroom/filebot/4.5/FileBot.app/Contents/Java/FileBot_4.5.jar
Argument: /Users/Jay/Movies/ZZZ-TVShows-Unsorted
Using excludes: /Users/Jay/Movies/amc.txt (474)
Ignore hidden: /Users/Jay/Movies/ZZZ-TVShows-Unsorted/.DS_Store
Input: /Users/Jay/Movies/ZZZ-TVShows-Unsorted/Arrow.S02E01.avi
Group: [mov:null] => [Arrow.S02E01.avi]
Finished without processing any files
Failure (°_°)
Filebot appears to find the test file in its correct location, but is unable to process it.
As noted, I have tried this with both my old and your generic script with the same result. In both cases, I did chmod +rx the scripts.
Am feeling a bit dumb not being able to figure this out, as I have successfully written and debugged these Filebot scripts several times in the past with good results. Sigh. Any suggestions most welcome.
Generic script (modified with my file locations):
#!/bin/bash
filebot -script fn:amc --output "/Users/Jay/Movies" --log-file amc.log --action move -non-strict "/Users/Jay/Movies/ZZZ-TVShows-Unsorted" --def excludeList=amc.txt
Old script which works fine on my older iMac:
#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot -script fn:amc --output "Volumes/iMacHD1TB/Users/Jay/Movies/{s}" --action move --conflict override -non-strict --def "seriesFormat={n.space('.')}.{'s'+s.pad(2)}e{e.pad(2)}.{t.space('.')}" subtitles=y artwork=n "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
output from filebot -script fn:sysinfo
FileBot 4.5.6 (r2818)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/Applications/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.3.9
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 161 MB Used Memory
OS: Mac OS X (x86_64)
uname: Darwin JayiMac.local 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)
AMC script on Yosemite and Transmission
Re: AMC script on Yosemite and Transmission
1.
Somehow movie mode is forced for this file. Check if the file isn't in some sort of movie folder, and that it hasn't been (xattr) tagged as movie by filebot before.
On second thought, if you want to process TV Shows, don't put them in a folder called "Movies"
2.
You can't use {s} in --output since --output only allows a path to be specified.
Somehow movie mode is forced for this file. Check if the file isn't in some sort of movie folder, and that it hasn't been (xattr) tagged as movie by filebot before.
On second thought, if you want to process TV Shows, don't put them in a folder called "Movies"

2.
You can't use {s} in --output since --output only allows a path to be specified.
Re: AMC script on Yosemite and Transmission
Hello Noah (?RedNoahrednoah wrote:1.
Somehow movie mode is forced for this file. Check if the file isn't in some sort of movie folder, and that it hasn't been (xattr) tagged as movie by filebot before.
On second thought, if you want to process TV Shows, don't put them in a folder called "Movies"
2.
You can't use {s} in --output since --output only allows a path to be specified.

Thank you for the quick reply!
Filebot and the AMC script have been working beautifully with TV shows in the /Movies folder for years now. The only reason for using /Movies was that it was the default for all video content when I started using the Mac ages ago, and it seemed to not inhibit any of the functionality of Filebot, Plex, XBMC, etc.
The AMC script is still working fine on my Win machine and on the old iMac, with all TV shows still in the /Movies folders. (The get moved to /Movies/SeriesName folders using the script or using manual renames/move functions.)
I have tried running the amc script with several different shows and movies - in each case it fails on the new iMac and runs as desired on the old iMac and on the PC.
I have run Terminal based commands on the new Yosemite iMac - rename and move seem to work normally, and identify the TV shows without problem. The amc script fails in Terminal mode with the same error codes as when running from the Transmission Call script.
The only difference in the new iMac and the old iMac is Yosemite vs Mavericks.
I just uninstalled Filebot, Cask, Java etc. on the new iMac and reinstalled everything as detailed on your install page.

The amc script is clearly running and seems to be identifying the TV episode correctly, as it downloads the correct subtitle files for each of my test videos. It aborts when trying to rename and/or move the original video file.
Usually these errors turn out to be something horribly simple. I've double checked the quote marks are correct. I have executed chmod +rx and checked that the permissions are correct. I have tried different input and output folder locations... now at my wit's end.
NOTE: The {s} is from the old version of the script which is running only on the old iMac. I am for the moment trying the simplified script that you recommend on the new iMac (having failed all my variants of the old script).
Once again, thank you for your time and kind efforts

Re: AMC script on Yosemite and Transmission
Is Transmission running as a different user? I think some people report issues when using FileBot as "User A" but moving things to the home folder of "User B" and I guess Yosemite may have some new access restrictions for that, so that users can't mess with each other.
Re: AMC script on Yosemite and Transmission
Just the one user on this machine. And I checked that the filebot app has full read and write permissions.rednoah wrote:Is Transmission running as a different user? I think some people report issues when using FileBot as "User A" but moving things to the home folder of "User B" and I guess Yosemite may have some new access restrictions for that, so that users can't mess with each other.
When I use rename, copy or move commands they are executing correctly. Just the AMC script that returns the error. Strange.
For now I'll set AMC aside and just write a script that does the rename, move and subtitle downloads. I did this ages ago using Automator and that worked beautifully.
Thanks again for your kind effort to help. I'm sure the issue is something silly I am doing rather than the AMC script

EDIT: I wrote the Automator script this afternoon to get-missing-subtitles and rename/move to the series folders, then clean up the residual files. Works perfectly, thank you. [ I'm looking for the option to not rename/move the .nfo files to the Series folders, so those also get cleaned up rather than moved...sure it is in there somewhere
