ID-AL - My Music Player and My Music Player LE - User Guide V1.0
Appendix E. Content Updates with the Use of Scripts
E.I. Introduction
The Script function is used for the content management from:
•
A third-party storage device, see Using a Removable Device Storage with a Script (page 46).
•
The Ethernet network, see Using the Embedded FTP Clients with a Script (page 44).
The principle is to manage the content of the Main Media with a Script file (
script.txt
) and the new
content to add. The Script file describes which files and folders will be created, deleted or renamed on the
Main Media, and which files and folders will be added from the new content to the Main Media. The Script file
can also provides to the player some information like the date, the name, the version of the update.
There are 3 ways to create a script:
Method
Description
Uncompressed data
The Script file and the new content are directly copied at the root of storage device
or on the FTP server.
Zipped
The Script file and the new content are stored in a compressed ZIP file before to be
copied at the root of storage device or on the FTP server.
Password
The Script file and the new content are stored in a compressed ZIP file and
protected by a password before to be copied at the root of storage device or on the
FTP server. The password is defined into
Zip script file password
field of
the
Administrator
page of the web server of the player (see Web server (page
73)).
The script file is a text file (raw text, without formatting) named
script.txt
that can be created with any
simple text editor like the Notepad from Windows, or similar. This file must be saved with the ANSI encoding.
And did not include any special characters. Only the 7-bit ASCII character set is allowed. This means that
special characters that are not part of the following character list are not allowed. Also, some characters not
allowed by the Microsoft conventions for file and folder names are excluded.
List of allowed characters for naming files and folders
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
!
#
$
%
&
'
(
)
+
,
-
.
;
=
@
[
]
^
_
`
{
}
~
(Space)
A Script file is structured with 3 types of sections:
1. An optional header part:
[HEADER]
2. A commands part:
[COMMANDS]
3. An optional comments part:
[COMMENTS]
Notice:
•
A line beginning with
*
character is a comment line and will be ignore by the Script.
•
The empty lines are ignored
-86-
© 2017, Waves System