BARIX Streaming Client Guia de Instalação Página 45

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 63
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 44
Boolean expressions
A single boolean operators can be used in conditional execution (see the Test
command above).
A boolean operator has a name: a small letter, and its parameters enclosed in
brackets. The parameters of a boolean operator are either integer or string
constants or variables. Optionally, a boolean expression can be prefixed with the
exclamation mark ('!', ASCII 0x21) for the logical NOT function.
m(f,n) - n-th message in file f exists
similar to the Print Message command M(f,n) above
tests if a FLASH message file (e.g. channels.ini) contains a non-empty message
on the line number n; the top line in the file has the number 0
is TRUE if the message exists and is non-empty, otherwise is FALSE
p(s) - string is empty
accepts one string parameter
is TRUE if the string is empty, otherwise is FALSE
z(i) - integer is zero
accepts one integer parameter
is TRUE if the integer is zero, otherwise is FALSE
g(i1,i2) - i1>i2
accepts two integer parameters i1 and i2
is TRUE if i1 is greater than i2, otherwise is FALSE
e(i1,i2) - i1=i2
accepts two integer parameters i1 and i2
is TRUE if i1 equals to i2, otherwise is FALSE
t(i1,i2) - i1>=i2
accepts two integer parameters i1 and i2
is TRUE if i1 is greater or equals to i2, otherwise is FALSE
Variables
Variables are indexed, a separate indexing for integer and string variables is used.
Integer variables are prefixed with a small 'i' letter (ASCII 0x69) followed by the
variable index (starting from 0). String variables are prefixed with a small 's' letter
(ASCII 0x73) followed by the variable index. E.g. 'i12' or 's4'
The following string variables are defined:
ID Description
s0 Device's IP address as a string; e.g. “192.168.1.2”
s1 The current song name and radio station name obtained from meta tags
The following integer variables are defined:
ID Description
i0 The player status: 0=idle, 1=tuning, 2=playing
i1 non-zero if priority message is being played, otherwise 0
i2 1 if the device is in stand-by mode, otherwise 0
BARIX AG | 45/63
Vista de página 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 62 63

Comentários a estes Manuais

Sem comentários