96
1
SW
PLAYER_setvol = function(perc)
PLAYER_setvol = function(perc)
PLAYER_decvol = function()
Description:
Use this function to move back to the previous item. It retains the play state.
Function:
Description:
Use this function to increase the player volume
3dB. Function:
Description:
Use this function to decrease the player volume 3dB.
Function:
Description:
Use this function to set the current player volume
Arguments:
nVolume
–
integer
0 to 100
Function:
Description:
Call this function to set the mute player parameter.
Arguments:
bMute
–
boolean
set to true to mute the player, otherwise unmute the player.
Function:
Description:
Call this function to open/load a preset or source or url
Arguments:
url (optional)
–- String of the url you want to open e.g. mmc://my-music/ http:://my.server/music-
mp3 preset (optional)
– integer from 1 to 20. Indicates the preset you want to open
source (optional)
– integer from 1 to 24 representing MMC, USB, DLNA, AIRPLAY and presets
from PRESET1 to PRESET 20 (preset must be configured properly)
How to load “PRESET 12”?
How to load url “http:://my.server/music-mp3”?
How to load source “AIRPLAY”?
*note the { } around the parameter which indicates optional arguments
PLAYER_incvol = function()
PLAYER_open = function( options )
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({preset=12})
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({source=4})
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({url=”
”})