The FTP-MP3 Player application allows you to set up a low cost Exstreamer to play music as and when you want, from files stored on an attached USB stick. No network load. However, if you want you can also dynamically update the content of the USB using the FTP protocol.
This application is ideal for Retailers who want to play background music, but don't want to overload their network with audio traffic.
The ABCL Application
Find out more about other ABCL applications we offer as reference on our homepage. Customization can be done by customer or by Barix on request.
File length check
I have an unreliable network connection, can I still use the FTPMP3 application?
Poor network connections can result in partial file downloads, which are not easily detectable and result in unpredictable playback. To address this the application can be set up to detect incomplete files using 'length checking'.
There are two parts to the length checking system: a server component which creates a 'length file' for each file to download and the checking functionality at the player, which must be enabled.
As well as downloading the music file, the second file containing the length of the music (or configuration/playlist) file is downloaded. A simple check reveals if the whole music file has been received.
More about those extra files: In order for length checking to be employed, files with length information have to be created on the server. For every file (including the configuration file) another file with (second) file extension “.len” must be created on the server(s). This “.len” file should contain just 12 digits - size of file in bytes padded with zeroes from the left.
It is easy to create the length files using the WriteFileSize tool, which is included in the firmware update archives.
WriteFileSize1 is a command-line tool. When run without arguments, it displays its documentation. Typical use is to give WriteFileSize just one argument:
which results in adding length files for all of the files in the subdirectory MyDir.
The length checking must be activated in the player.cfg configuration file on the player, using the variable CHECK_LENGTH=1
Filename 8.3 limitation
The FTP_MP3_Player application is supporting only 8.3 Filename lenght due to cache memory limitation. In order to cope with this Barix provide a "File Server" application that perform the following:
- process the music files converting filename in 8.3 format
- process the playlists replacing the listed music filenames into the new 8.3. filenames