Instructions : DNeX Flash Audio playhead : Minicaster FREE
THE CONFIGURATION FILE
The XML configuration file will usually be loaded from the same website folder as the SWF file, and using the same name as
the playhead (but with an XML extension). For example, if the Minicaster playhead is available at
http://www.mywebsite.xx/music/minicaster.swf
then the configuration file should be at
http://www.mywebsite.xx/music/minicaster.xml
The file contains XML data that defines all of the startup parameters for the playhead (autostart,
volume, etc.) and of course the location of the webcast itself. The configuration file must be
present, and must have a webcast defined, or the playhead will stop and display an error.
A sample configuration file is shown below:-
<?xml version="1.0" encoding="iso-8859-1" ?>
<config version="1s" xmlns="http://www.draftlight.net/dnex/config/ns/0/">
<mp3cast>
<mount>http://my.icecast.xx:8000/live/</mount>
<website>http://my.website.xx</website>
<title>Title of my radio station</title>
</mp3cast>
<init autoplay="0" volume="80" reload="5" xfade="0" />
</config>
- The first two lines are essential, and defines the file XML namespace. Please don't alter them.
- Lines 3 to 7 define an mp3cast 'mount point', and are required.
- Line 8 defines startup settings, and is required.
- Line 9 closes the config structure, and is required.
The <init> tag
The parameters in the init tag are as follows:-
- autoplay A single digit ["0" or "1"] defines if the playhead starts playing track 1 as soon as it loads. Default is "0" (autoplay off).
- volume An integer ["0" to "100"] setting the initial playback volume. Default value "100".
- reload An integer ["3" to "30"] setting the number of minutes between stream crossfades. Default value "5".
- xfade An single digit ["0" or "1"] defines if XF crossfade mode is on or off (see below). Default value "1" (XF active).
The <mp3cast> structure
The <mp3cast> tag has several child tags, some are optional and some are not:-
- mount The mount point of your webcast (NOT the playlist file location!). The mount point is the web address that points
to your MP3 stream itself. In Icecast this might be 'http://my.server.com:8000/live' - you can check this URL is valid by trying to
open it in an audio player such as Winamp.
- website A link to a website giving information about the webcast. You can omit this tag if you want.
- title The human-readable name of the radio station, for display on the Minicaster screen.