BARIX Streaming Client Guida di Installazione Pagina 34

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 63
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 33
5.2 URL Variable Substitution
URLs may contain variables which are processed and substituted by their values.
Variables have syntax $NAME$, where name consists of printable upper case
characters other than '$'. Following variable names are defined:
Name Description Example
MAC Device MAC address (12 digits in hexadecimal
notation with no separators, A..F digits in capital
letters)
0008E1002B0E
IP Device IP address (four numbers, dot separated,
without leading zeroes)
192.168.2.202
NAME DHCP Host name (ASCII string configured in network
settings)
XSTREAM1
NUM channel number (three digits) 003
When the device is fetching a stream then the above variables will be substituted.
This allows for specific tasks like identification, zoning and logging of the device.
The variable $NAME$ for an example could be used to group several devices to a
zone which will be supplied with different streams by the server analyzing the name
of the fetching device.
Example:
URL1: http://myserver.com:4567/device.cgi?
zone=$NAME$&id=$MAC$&logip=$IP$
URL1: http://myserver.com:4567/device.cgi?
channel=$NUM$&id=$MAC$&logip=$IP$
The variable $NUM$ can also be used to select numbered playlists stored on a USB
memory stick using the IR remote control.
5.3 Triggered Message Playback
Streaming Client supports playback of files from a local storage triggered remotely
via Shoutcast or by a command. This can be useful e.g. for playing local adverts,
pre-recorded announcements, etc. To use this feature enter a playlist name in the
Priority section of Advanced Settings.
The following special names in StreamTitle section of Shoutcast metadata (song
name) are recognised:
BARIX song next : plays next song from the priority playlist
BARIX song N : where N is an integer number, plays N-th file from the
playlist. N counts from 0.
Further, the playback can be triggered with the S=N command:
S=-1 : plays the next song from the priority playlist
S=N : where N is an integer number, plays N-th file from the playlist. N
counts from 0.
When such a trigger is received, the current playback (URL1-3) stops, the requested
file from the local playlist is played and when the file ends then the normal playback
(URL1-3) starts again. The triggered playback is considered as priority and therefore
also “Priority message” appears on device's display.
If Shuffle is on the “next song” command picks up a random song. The play N-th file
command is not affected by shuffle.
BARIX AG | 34/63
Vedere la pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 62 63

Commenti su questo manuale

Nessun commento