
To enable time update using the NTP protocol, set the
NTP_SERVER
variable in the
FTP MP3
Player configuration file
, so that it points to a reachable NTP server, for example:
NTP_SERVER = ntp.example.org
If set this way, the FTP MP3 Player tries:
●
every 1 hour (default value for NTP_UPDATE HOUR)
●
to connect to an NTP server running on the address ntp.example.org and to get time
information
3.4
Playlist configuration
The first line of every playlist must be a special configuration comment, in the form:
#BARIX-4,DATE1,DATE2,DOTW,TIME1,TIME2,REPEAT,VOLUME,INTERRUPT,SHUFFLE
(all of this should be on one line)
with the exception of #BARIX-4, all items on the line can be empty
Permissible values of the variables and their meanings are summarized in the following table:
Item
Meaning
#BARIX-4
This tells the FTP MP3 Player that this is a special configuration
comment and the version of the configuration syntax used. The
syntax of configuration comment can change in newer versions of
the FTP MP3 without retaining backward compatibility
DATE1
Either empty, or four digits, DDMM, or 8 characters in format DD-
MM-YY where DD is for day, MM is for month, YY is for the last 2
digits of the year. e.g.
7
th
February is 0702, 7
th
January 2010 is 07-01-10
If non-empty, the playlist is not played before the day given by
DATE1
DATE2
Either empty, or four digits, DDMM, or 8 characters in format DD-
MM-YY where DD is for day, MM is for month, YY is for the last 2
digits of the year. e.g.
7
th
February is 0702, 7
th
January 2010 is 07-01-10
If non-empty, the playlist is not played after the day given by DATE2
DOTW
List of the days of the week (using two character abbreviations)
when the playlist should be played,. Permissible values are MO, TU,
WE, TH, FR, SA, SO
e.g. MOFRSA means the playlist should be played on Monday,
Friday and Saturday.
Ignored if empty.
TIME1
Either empty, or time in format HHMM or HH:MM:SS
9
, if defined, the
playlist is not played before this time of day i.e. START TIME
TIME2
Either empty, or time in format HHMM or HH:MM:SS, if not empty,
the playlist is not played after this time of day i.e. STOP TIME
REPEAT
Playlist is played only REPEAT times in one day and between music
9
This can be also overridden using UPDATE_DAILY_TIME
10
Configuration of the player