134
33.4.2
Preset examples
At this moment you can load the configured preset with this instruction:
ep.PLAYER_open({preset=3})
33.5
EVENT FUNCTIONS
Event functions lets ePLAYER1 execute automated functions. There are 3 possibilities GPI1, GPI2 and
SILENCE settings.
Functions
Function:
EVENT_reload(txtEvent)
Description:
Reload event configuration. Call it after modify the preset configuration using CFG_set and CFG_commit
Arguments:
txtEvent
– String indicating the event to reload (GPI1, GPI2 or SILENCE)
require
"ePLAYER1"
ep = ePLAYER1.new()
ep.CFG_set("preset03", "settings", "bname", "My first preset") ep.CFG_set("preset03",
"settings", "bPlaylist", 1)
ep.CFG_set("preset03", "settings", "mediaAlias", "Alias of my first preset")
ep.CFG_set("preset03", "settings", "bVolume", 1)
ep.CFG_set("preset03",
"settings",
"volume",
100)
ep.CFG_set("preset03",
"settings",
"loadPlaylist",
"mmc://")
ep.CFG_set("preset03",
"settings",
"eventList",
"GPI1%SILENCE")
ep.CFG_commit("preset03")
ep.PRESET_reload(3)
Summary of Contents for PLAYER ONE
Page 54: ...54 Figure 32 The action of loading and playing the specified stream is configured Figure 33 ...
Page 85: ...85 Figure 76 accessing the network configuration Figure 77 editing network parameters ...
Page 90: ...90 Figure 83 editing WiFi password ...
Page 95: ...95 A wireless connection to your WiFi network will be established Figure 88 ...
Page 112: ...112 In this example su hotels Figura 107 ...
Page 114: ...114 Figura 109 Copy from here To here ...
Page 118: ...118 THIRD PARTY CONTROL PROTOCOL PLAYER ONE JSON Commands USUER MANUAL ...
Page 153: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 153 ...