
Freedom ReAct
4.0 CONTENT MANAGEMENT
4.1 Configuring Media Content & Triggers
Configuration Overview
The player’s behavior is controlled by the mti_config.xml file on the memory card. This file contains sets of elements and attributes
that specifies the attract loop, playlists, and trigger behaviors. An example config.xml file is included in Appendix A. This
appendix also details the specific elements and attributes that are used to create the configuration file. A small excerpt from this
configuration file is shown below:
<?xml version="1.0" encoding="UTF-8" ?>
<
M504
date
="
2011 06 22 22:38:29
"
version
="
3
">
<
DefaultVolume
value
="
45
" />
<
DefaultDuration
value
="
30
" />
<
AttractLoop
>
<
content
type
="
video
"
linkToTP
="
1,2,3,4,5,11
"
rs232Out
="
#0
"
volume
="
55
">
MTI-Macworld.mov
</
content
>
<
content
type
="
picture
"
duration
="
60
"
linkToTP
="
1,2,3,4,5,11
">
3D_Logo.png
</
content
>
</
AttractLoop
>
<
UIM
position
="
68
">
<
command
type
="
1
"
value
="
01
">
<
content
type
="
video
"
rs232Out
="
#A
">
MTI-Bold_Loop_v5.mov
</
content
>
</
command
>
<
command
type
="
1
"
value
="
02
">
<
content
type
="
video
"
rs232Out
="
#B
">
MTI-Curve_Loop_v5.mov
</
content
>
</
command
>
<
command
type
="
1
"
value
="
04
">
<
content
type
="
video
"
rs232Out
="
#D
">
MTI-Pearl_Loop_v5.mov
</
content
>
</
command
>
</
UIM
>
<
GPIO
>
<
port
lockout
="
true
"
normal_open
="
false
"
value
="
1
">
<
content
type
="
video
">
MTI-CoralReef.wmv
</
content
>
</
port
>
<
port
normal_open
="
false
"
value
="
2
">
<
content
type
="
video
"
mode3d
="
1
">
MTI-FIFA3D.mov
</
content
>
</
port
>
<
port
audioctrl
="
volume_up
"
normal_open
="
true
"
value
="
3
" />
<
port
audioctrl
="
volume_down
"
normal_open
="
true
"
value
="
4
" />
</
GPIO
>
<
IRREMOTE
/>
<
TP
>
<
tpItem
value
="
1
"
w
="
476
"
h
="
65
"
x
="
770
"
y
="
600
"
r
="
0
"
g
="
0
"
b
="
0
"
transparent-level
="
0.3
"
a
="
0
"
focusOut
="
MTItp_SEE_THE_DETAILS.png
">
<
content
type
="
html
"
duration
="
60
"
linkToTP
="
12
">
http://www.mti-interactive.com/Products/Intuition
</
content
>
</
tpItem
>
<
tpItem
value
="
2
"
w
="
100
"
h
="
100
"
x
="
900
"
y
="
20
"
r
="
255
"
g
="
255
"
b
="
0
"
transparent-level
="
0.0
"
a
="
255
"
rs232Out
="
#A
"
uimOnly
="
1
"/>
<
tpItem
value
="
3
"
w
="
150
"
h
="
50
"
x
="
875
"
y
="
150
"
r
="
0
"
g
="
255
"
b
="
255
"
transparent-level
="
0.0
"
a
="
200
"
rs232Out
="
#B
"
uimOnly
="
1
"/>
<
tpItem
value
="
4
"
w
="
50
"
h
="
75
"
x
="
925
"
y
="
225
"
r
="
255
"
g
="
0
"
b
="
0
"
transparent-level
="
0.0
"
a
="
100
"
rs232Out
="
#D
"
uimOnly
="
1
"/>
<
tpItem
value
="
5
"
w
="
50
"
h
="
50
"
x
="
1230
"
y
="
0
"
r
="
0
"
g
="
0
"
b
="
0
"
transparent-level
="
0.0
"
a
="
0
">
<
content
type
="
picture
"
duration
="
120
"
linkToTP
="
6,7,8,9
">
MTI-Movie_Trailer_Menu.png
</
content
>
</
tpItem
>
<
tpItem
value
="
6
"
w
="
200
"
h
="
150
"
x
="
120
"
y
="
505
"
r
="
255
"
g
="
0
"
b
="
0
"
transparent-level
="
0.0
"
a
="
150
"
repeatPlayList
="
1
">
<
content
type
="
video
"
linkToTP
="
10
">
MTI-Cars2a.mp4
</
content
>
</
tpItem
>
<
tpItem
value
="
7
"
w
="
156
"
h
="
150
"
x
="
422
"
y
="
505
"
r
="
0
"
g
="
0
"
b
="
0
"
transparent-level
="
0.9
"
a
="
0
"
focusOut
="
MTItp-GrnLantern.png
"
repeatPlayList
="
1
">
<
content
linkToTP
="
10
"
type
="
video
">
MTI-GreenLantern.mp4
</
content
>
</
tpItem
>
<
tpItem
value
="
8
"
w
="
309
"
h
="
281
"
x
="
615
"
y
="
425
"
r
="
0
"
g
="
0
"
b
="
0
"
transparent-level
="
0.0
"
a
="
0
"
focusOut
="
MTItp-KFP2_BTTN.png
"
repeatPlayList
="
1
">
<
content
type
="
video
"
linkToTP
="
10
">
MTI-KFP2.mp4
</
content
>
</
tpItem
>
16
Notes:
A useful freeware program called ConTEXT (www.contexteditor.org) supports syntax color coding of xml files.
Media content can include media files (e.g., image or video files) or web page content (html files stored on the memory card or on a
web server if player is connected to the Internet).
All media content must specify the content type and name.
Media files identified in this configuration file must be in the mti_data folder. If a file is missing, the system displays an error message
and enters Setup Mode.
System requires the
<M504>
tag at the beginning, a
DefaultVolume value
, and the
</M504>
tag at the end.
Volume for individual media files is optional; the system will simply use the default value instead.
You must specify
mode3d
=”1” for 3D media files; otherwise the system will play the file in the default 2D mode.
Child Element
Element
Attribute (name = “value” pair)
Content file name
Tag
Содержание Freedom ReAct Interactive
Страница 25: ...Freedom ReAct 25 APPENDIX A Playlist Elements Attributes ...
Страница 26: ...Freedom ReAct 26 ...
Страница 27: ...Freedom ReAct 27 ...
Страница 28: ...Freedom ReAct 28 ...