Run FileBot headless without Dock icon on OSX


FileBot is a great utility for finding the names and subtitles of downloaded TV shows and movies. I use it as part of a shell script to organise downloaded media files.

Unfortunately, the suggested way to invoke it from the command line is simply to call filebot, e.g. /Applications/ ....

This was causing FileBot to pop up a Java icon in the dock and steal focus, whenever it was invoked which was driving me crazy. Fortunately the solution is simple: Run the FileBot jar directly with the awt.headless set to true. As follows:

java -jar -Djava.awt.headless=true /Applications/ ...

No more annoying icon.

4 thoughts on “Run FileBot headless without Dock icon on OSX

  1. admin

    That’s great, thank you!
    Now I just need to figure out how to get Chinese language subtitles working — they never get found. Maybe a script that asks directly…?

  2. Should work, added the transcoding feature just so I can auto-convert chinese subtitles into utf-8 srts. But the DBs I use probably don’t have many chinese subs in general. doesn’t have a full API. There is something for search, but download is restricted to people that visit the website.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>