[JIL] Metadata Types v.5.5


There are different Metadata Types:

  • Selection: drop-down box, containing several, user definable <item> elements.

  • Text: text field.

  • Checkbox: checkbox, can either be unchecked ("0") or checked ("1").

  • Date: Date selection via a text input field or a DatePicker.

  • Time: Time selection via a text input field.

  • DateTime: DateTime selection via text field or DateTimePicker.

All of these elements can be used as often as you want and in any possible order and combination.

Overview

All metadata elements follow the same XML structure. Each element starts with the following XML-element:

<control></control>

This element can only have one attribute ("resetAfterRecord"), which resets the Metadata Field's value after each Recording (0, means the values stays as it is. Value 1 will reset the value):

<control resetAfterRecord="1"></control>

Within this control-element you have to define the name, label, “currentValue” and type:

<control resetAfterRecord="0"> <name>quality</name> #use this name to address the value of this element within the ExportXML <label>Quality</label> #this name will be used to tag the element within the just:in interface (inspector) <currentValue>Medium</currentValue> #sets the default value for this element <type class="Selection"> #defines the control type (selection, text, checkbox, etc.) <item>Low</item> <item>Medium</item> <item>High</item> </type> </control>

Selection Box

The “Selection Box” Element can be used, if the just:in linux operator should choose from a predefined set of options.

Text Box

The “Text Box” can be used for any element, which should contain text only.

Checkbox

The “Checkbox” is for any elements, which can only have two states.

Date

This element is for selecting a “Date”.

Time

This element can choose a specific “Time”.

DateTime

With this element a specific “Date” and “Time” can be defined.

Date/Time/DateTime Format

Changing the format of these metadata elements is very easy and straightforward as well. In order to make this as flexible as possible, we are using the default system settings for that. To change that, open the custom format settings for “Dates” and “Times”, which can be found here:

  • Open the macOS System Preferences and open the “Date & Time” Preferences panel

  • Open “Language & Region” settings (“Date & Time” tab)

  • Switch to the “Advanced” settings

  • Change “Dates” and/or “Times” Format settings here ("Full:")

 

StartUpXML Example

Please beware that the StartUpXML must follow the rules above, otherwise the Metadata Sets will not work correctly and can lead to unexpected behaviour.

ExportXML Example

The ExportXML can have any possible structure. As mentioned above, the variables defined in the StartUpXML can be addressed like shown below.

→ Use the sidebar to navigate.