mediainfo script -- different variables

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Januz
Posts: 2
Joined: 26 Aug 2012, 14:38

mediainfo script -- different variables

Post by Januz »

Hi,

I'm trying to adapt the mediainfo script a little to print out different variables or different notations of the used variables.

I've not found the definitions for, e.g., {fn} or {file.length()} anywhere. Is there a list of possible variables?

Thank you very much,

J.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: mediainfo script -- different variables

Post by rednoah »

Everything is documented in the format editor by opening the binding dialog. Plus it's all on the website.

e.g.
FileBot will give you the "file" variable of type File, but File.length() is defined by the Groovy/Java runtime, along with many many many many other things. Refer to the GDK and JDK for full docs.
:idea: Please read the FAQ and How to Request Help.
Januz
Posts: 2
Joined: 26 Aug 2012, 14:38

Re: mediainfo script -- different variables

Post by Januz »

Ah, thanks! I didn´t look at the GUI...

Best,

J
Post Reply