I recently started to use filebot to automate my htpc running xbmc and I have to say that this project is very well done and it works fairy well. I use the "utorrent-postprocess" script and most of the time it correctly recognizes my movies / TV series.
During my use of filebot though I think I've discovered 2 bugs, and since I like the project and I'm hoping to see them corrected, I'm reporting them

The first one caused the following stack trace:
Looking up subtitles by filehash via Sublight
Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied
java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:762)
at com.sun.jna.Native.loadNativeLibrary(Native.java:697)
at com.sun.jna.Native.<clinit>(Native.java:127)
at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:62)
at net.sourceforge.filebot.mediainfo.MediaInfo.<clinit>(Unknown Source)
at net.sourceforge.filebot.web.SublightVideoHasher.getDuration(Unknown Source)
at net.sourceforge.filebot.web.SublightVideoHasher.computeHash(Unknown Source)
at net.sourceforge.filebot.web.SublightSubtitleClient.getSubtitleList(Unknown Source)
at net.sourceforge.filebot.cli.CmdlineOperations.lookupSubtitleByHash(Unknown Source)
at net.sourceforge.filebot.cli.CmdlineOperations.getSubtitles(Unknown Source)
at net.sourceforge.filebot.cli.CmdlineOperations.getMissingSubtitles(Unknown Source)
at net.sourceforge.filebot.format.PrivilegedInvocation$1.run(Unknown Source)
at net.sourceforge.filebot.format.PrivilegedInvocation.invoke(Unknown Source)
at $Proxy5.getMissingSubtitles(Unknown Source)
at Script2$_getMissingSubtitles_closure61.doCall(Script2.groovy:210)
at Script2$_getMissingSubtitles_closure61.doCall(Script2.groovy)
at Script2$_run_closure52.doCall(Script2.groovy:284)
at Script2.getMissingSubtitles(Script2.groovy:210)
at Script3$_run_closure6.doCall(Script3.groovy:50)
at Script3.run(Script3.groovy:48)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
What can I say is that during the lookup of subtitles a temporary file is being created but it fails due to lack of permissions. I ran the script on a Debian box with the /tmp directory world writtable. The problem was that I previously ran the script as root and a /tmp/jna directory was created (owned by root, not world writable). Removing the directory and launching the script again as a normal user, it completed correctly.
This problem does not look to be related with filebot itself but with JNA library. It has been reported here: https://github.com/twall/jna/pull/58 so I suppose that this problem will fix itself by updating the library filebot uses.
As for the second problem I found, I'm not entirely sure it is a bug or a feature request but this board is for both so I suppose it's okay :p
I have found out that sometimes movies that filebot have difficulties on being recognized end up being classified as this movie: http://en.wikipedia.org/wiki/Downloading_Nancy
The problem seems related to the fact that downloaded movies are in this directory: /home/valerio/data/downloads and the methods "public static File guessMovieFolder(File movieFile) throws IOException" and "public static List<String> detectSeriesNames(Collection<File> files, Locale locale) throws Exception" that both look for parent directories to detect the name of the movie / TV series. In both cases the number of parent directories to examine is hard wired inside code (2 and 3 respectively).
What I would propose is to make the number of parent folder to inspect configurable in some way so that it is possible to tell filebot whenever he should stop because he's actually running into folders that have no relation with the downloaded media.
Let me know what you think about those two and kudos for the project
