
2
FTP MP3 Player configuration file
The FTP MP3 Player requires that a USB Mass Storage disk be attached to the device,
formatted with the FAT16 or FAT32 file system. There should be a directory
2
“player” in the root
directory and configuration file “player.cfg” in the directory “player”. All of the configuration of
the FTP MP3 Player itself is set in this configuration file.
The configuration file is a plain ASCII file
3
consisting of comment and command lines.
Any lines beginning with '#' are considered to be comments, and are ignored by FTP MP3
Player.
Command lines should be of the form
variable=value
For a description of all of the variables see chapter
5. List of available settings.
Note:
when variable is assigned different values on different lines, the last assignment is used.
Note:
If the USB stick is not formatted, or the player directory is not created, the application
will send a warning syslog message, and will quit.
Note:
If the configuration player.cfg file is not found in the player directory at boot, the
application will contact the preset rescue server to try to fetch it.
2
Starting from v0.69, the location of the music directory is configurable. It can be set to use the USB
root
directory, or any other name up to 8 characters.
3
Any text editor (Notepad, Vim, TextEdit, ...) can be used to create or edit this file. Lines are allowed
to
be ended with CRLF (as usual on Microsoft Windows) or LF (as usual in the Unix world). Word
processors (Microsoft Word, OpenOffice.org,...) are not intended for editing plain ASCII files, and
should not be used.
7
FTP MP3 Player configuration file