Page 1 of 1

BindingException: "af": Path to media file has not been set

Posted: 28 Apr 2014, 07:25
by Funkymatic
Before I ask my question I want to say holy gods I love this application! Noah you're a freaking genius.

I looked at the pre-written scripts/formats and grabbed

Code: Select all

X:/Movies/{"$collection/"}{n} ({y}){" [$source]"}/{n} ({y}) [{"${fn.match(/3D/)}, "}{vf}, {ac}, {af}]
The format editor displays the error BindingException: "af": Path to media file has not been set and the movies end up with [ , , ,] at the end instead of the expected [3D, 720p, AAC, 6ch] for example.

I've changed the X:\Movies\ to the appropriate drive path for my movie collection. Pretty new to this whole thing so no idea where to go from here.

Cheers

Re: BindingException: "af": Path to media file has not been

Posted: 28 Apr 2014, 12:17
by rednoah
Have you read the FAQ. I'm sure there is a billion threads on "issue" here somewhere.

Re: BindingException: "af": Path to media file has not been

Posted: 19 May 2014, 05:04
by Funkymatic
Ok I set the path to the media file as per the FAQ.

I'm now getting the error "BindingExcpetion: "af": Could not initialize class net.sourceforge.filebot.mediainfo.MediaInfoLibrary"

I can see the FAQ has a known issue problem when running 32/64 combinations.

I'm on Win8 64bit OS using the default Portable 4.0 package from the downloads page and have no idea how to tell whether it is 32 or 64 bit.

Does anyone know?
Also - is there an equivalent command line tool I can use on windows to run all the commands in the FAQ?

Thanks for your help with this

Re: BindingException: "af": Path to media file has not been

Posted: 19 May 2014, 05:44
by rednoah
This package does not include the MediaInfo and 7-Zip native libraries. 32-bit JRE requires 32-bit native libs
The portable package is both and and neither 32/64-bit. It's completely platform independent. If you want to use the optional features that are not platform independent you'll need to download the necessary libraries yourself.

OR you could just use the Windows installer.

Re: BindingException: "af": Path to media file has not been

Posted: 19 May 2014, 06:19
by Funkymatic
I have zero experience coding/programming so I don't know what 'download the necessary libraries' means or even where to begin.

I read somewhere else to copy the mediainfo.dll file into the filebot install directory. I did and it now works. I guess the .dll is the necessary library you're speaking of.

As a complete layman I often need things explained like i'm a five year old.

Thanks for responding so fast rednoah. Keep up the great work!

Re: BindingException: "af": Path to media file has not been

Posted: 19 May 2014, 07:23
by rednoah
In that case I recommend just using the Windows installer. :P

Re: BindingException: "af": Path to media file has not been

Posted: 28 Oct 2015, 18:54
by Grant
I am having the same problem, I have uninstalled all versions of Java and Filebot, installed the latest version of Java and Filebot.

when I go to movie bindings and click on open MediaInfo I get an error, unable to load 32-bit native library. I am running Windows 7 64bit.

Re: BindingException: "af": Path to media file has not been

Posted: 28 Oct 2015, 19:25
by Grant
I have managed to correct the problem, I uninstalled everything again and reloaded the offline Java 64-bit version and then Filebot and everything is working now.