Ecler PLAYER ONE Manual De Usuario página 107

Ocultar thumbs Ver también para PLAYER ONE:
Function:
PLAYER_previous()
Description:
Use this function to move back to the previous item. It retains the play state.
Function:
PLAYER_incvol = function()
Description:
Use this function to increase the player volume 3dB.
Function:
PLAYER_decvol = function()
Description:
Use this function to decrease the player volume 3dB.
Function:
PLAYER_setvol = function(perc)
Description:
Use this function to set the current player volume
Arguments:
nVolume – integer 0 to 100
Function:
PLAYER_setvol = function(perc)
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:
PLAYER_open = function( options )
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"?
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({preset=12})
How to load url "http:://my.server/music-mp3"?
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({url="http://my.server/music-mp3"})
How to load source "AIRPLAY"?
require "PLAYER"
ep = PLAYER.new()
ep.PLAYER_open({source=4})
*note the { } around the parameter which indicates optional arguments
SW
107
loading

Este manual también es adecuado para:

Player zero