background image

 

142 

 

Arguments: 

txtLog 

– String containing the text you want to add. The source of the register line will be equal to 

“ScriptNN” where NN represents the script calling LOG_warning 

 

Function: 

LOG_error(txtLog) 

 

Description: 

Add to ePLAYER1 LOG register a error line 

Arguments: 

txtLog 

– String containing the text you want to add. The source of the register line will be equal to 

“ScriptNN” where NN represents the script calling LOG_error 

 
 

33.12

 

DEVICE (DEV) FUNCTIONS 

Device functions allows the user to setup firmware and general ePLAYER1 configurations. 

Functions 

Function: 

 

Description: 

Reboot the ePLAYER1 inmediatly. 

 

Function: 

 

Description: 

Get the ePLAYER1 firmware version 

Return: 

txtVersion 

– string containing ePLAYER1 firmware version formatted 

 

Function: 

 

Description: 

Installs a new ePLAYER1 firmware version. After installation device is rebooted automatically 

Arguments: 

urlFirmware 

– Url containing the path where ePLAYER1 firmware resides. Must be a local storage 

device or http/https url. 

 

Function: 

 

Description: 

Get the ePLAYER1 firmware version 

Arguments: 

devUrl 

– url of local storage device. Must be mmc:// or usb:// 

Return:  

total 

– number representing total number of bytes of external storage device 

used 

– number of bytes representing the used size 

percent 

– number parameter representing the used percentadge 

DEV_reboot()

 

txtVersion = DEV_version()

 

DEV_update(urlFirmware)

 

total, used, percent = DEV_get(devUrl)

 

Summary of Contents for PLAYER ONE

Page 1: ...50 0418 0102 PLAYER ONE EN PLAYER ONE AUDIO PLAYER Local and Streaming Audio Player USER MANUAL ...

Page 2: ...on and Internet connection 11 5 6 GPI remote control ports 12 6 FRONT PANEL 13 7 STARTUP 14 7 1 Power up 14 7 2 Main menu 16 7 3 Local media playback 17 7 3 1 Playing files stored on USB storage devices 17 7 3 2 Playing files stored on MICRO SD memory cards 18 7 4 Audio streaming playback 19 7 4 1 Audio streaming playback via AirPlay 19 7 4 2 Audio streaming playback via DLNA 20 7 4 3 Listening to...

Page 3: ...2 Presets 36 13 3 Events 40 13 3 1 GPI Events 42 13 3 2 SILENCE detection event 44 13 4 Calendar 45 13 4 1 General 47 13 4 2 Source 48 13 4 3 Date and time interval 48 13 4 4 Target 50 13 4 5 Regarding priorities 51 13 4 6 Practical example of configuration of calendar events 52 13 5 Cloud Disk Sync 60 13 5 1 Google Drive 61 13 5 2 Store and Forward rsync 70 13 6 CMS Management 74 13 7 Scripts LUA...

Page 4: ... Firmware 101 15 3 1 Make backups 102 15 3 2 Restore backups and factory settings 103 15 3 3 Firmware Update 103 15 4 USB MMC Settings 104 15 5 Register 106 15 6 Reboot 107 16 Annex I SSH server configuration for Store Forward 108 16 1 Content groups 109 16 2 Installing SSH on Linux 111 16 3 Creating users on Linux 111 16 4 Generating SSH keys 113 16 5 Adding audio content to the SSH server 115 16...

Page 5: ... LUA SDK 126 145 31 ePLAYER1 LUA SDK v1 02 126 31 1 Changelist 126 32 ePLAYER1 LUA SDK Introduction 126 33 How to use ePLAYER1 module 127 33 1 Conventions 127 33 2 PLAYER FUNCTIONS 128 33 3 CONFIG CFG FUNCTIONS 131 33 4 PRESET FUNCTIONS 132 33 4 1 Preset variables 133 33 4 2 Preset examples 134 33 5 EVENT FUNCTIONS 134 33 5 1 Event variables 135 33 6 CALENDAR CAL FUNCTIONS 135 33 6 1 Calendar vari...

Page 6: ...pt variables 141 33 11 REGISTER LOG FUNCTIONS 141 33 12 DEVICE DEV FUNCTIONS 142 33 13 PANEL FUNCTIONS 144 33 14 FINDER FUNCTIONS 145 33 15 LCD FUNCTIONS 145 INTERNET RADIO URL STREAMS 146 154 34 HOW TO IDENTIFY INTERNET RADIO URL STREAMS 146 34 1 How to discover streaming URLs included in websites 146 34 2 Playing internet radios via AirPlay ePLAYER1 151 ...

Page 7: ... appliance WARNING If applicable The terminals marked with symbol of may be of sufficient magnitude to constitute a risk of electric shock The external wiring connected to the terminals requires installation by an instructed person or the use of ready made leads or cords WARNING To prevent fire or shock hazard do not expose this equipment to rain or moisture WARNING An apparatus with Class I const...

Page 8: ...ll the functions and light indicators of the amplifier will be stopped but fully disconnecting the device from mains is done unplugging the power cord from the mains input socket For this reason it always shall remain readily operable 15 Equipment is connected to a socket outlet with earthing connection by means of a power cord 16 The marking information is located at the bottom of apparatus 17 Th...

Page 9: ...ital media exchange DLNA AirPlay with the following main features Main features 1 unbalanced stereo audio output RCA connector and mini jack with stereo mono selection Compatible with mp3 ogg WAV AIFF and FLAC audio formats One USB port and one MICRO SD card slot for access to local media content Ethernet interface with RJ45 connector for communication with web setup application as well as Interne...

Page 10: ...nguage www lua org o Local file encryption USB MICRO SD o Activity Log Note PLAYER ONE programming is done through the web application embedded in the unit Refer to the PLAYER ONE PLAYER ZERO web GUI application manual for more information 5 INSTALLATION AND CONNECTIONS 5 1 Location set up and ventilation The PLAYER ONE has been specially designed to be used both as a desktop player and a 19 rackm...

Page 11: ...1 x stereo mini jack 5 4 Ethernet port for configuration and Internet connection An RJ45 connector allows the unit to be connected to an Ethernet network or even directly point to point to a computer This connection provides access to Internet contents and to the configuration of the unit using a web browser on the computer which points to the IP address of the PLAYER ONE showing the web applicati...

Page 12: ...d audio content Preset recall Audio playback with priority over the music program Transport bar control PLAY PAUSE STOP etc Internal triggering to interact with other player services scripts for example GPI connectors use 3 position screw terminal blocks Euroblocks The wiring is as follows GPI terminal 1 2 terminals Ground terminal Connecting cables can be up to 500 meters long with a minimum sect...

Page 13: ...enu navigation parameter selection etc ESC key allows you to exit the menu return to the main screen It also provides access to the lock menu ENTER key provides access to the main menu and device configuration PREV key skips to the previous song in the player playlist Within the main or configuration menu allows you to navigate through the different previous settings STOP key stops the current pla...

Page 14: ...ER ONE is starting Note please check the firmware version of your device It should be updated to the latest version to ensure that all features described in this manual are available Visit www ecler com to download it 7 1 Power up The PLAYER ONE has two functionalities that can be executed when turning on the device Restore Factory Defaults factory settings can be restored by turning on the device...

Page 15: ...action is not performed correctly you may lose all device settings and parameters Be sure to save a backup copy of the device settings before executing this action They can also be done via the FD FS button on the rear panel of the PLAYER ONE Factory Default Press and hold the FD FS button on the rear panel for 10 seconds with a small pin or paper clip while the unit is powered on Fail Safe Restor...

Page 16: ...AIRPLAY or any of the items previously configured as the source of a preset Refer to the PLAYER ONE PLAYER ZERO web GUI application manual to learn how to create audio sources If the selected device is not found cannot be read or if there is no connection available DLNA AirPlay the display indicates that the device is not available UNAVAILABLE PRESET preset configuration memory recall Allows you t...

Page 17: ...ways loaded The settings of this preset can be configured using the web application of the device 7 3 Local media playback 7 3 1 Playing files stored on USB storage devices Insert USB media containing audio files in the USB port Then press the ENTER key to access the main menu In the SOURCE submenu select the USB source using the CONTROL SELECT digital encoder to navigate through the different par...

Page 18: ...st information 7 3 2 Playing files stored on MICRO SD memory cards Insert a MICRO SD MICRO SDHC card containing audio files in the slot Then press the ENTER key to access the main menu In the SOURCE submenu select the MMC source using the CONTROL SELECT digital encoder to navigate through the different parameters and press the encoder to confirm SELECT The selected parameter will flash until your ...

Page 19: ...i Fi network AirPlay also works with a wired Ethernet connection Refer to the PLAYER ONE PLAYER ZERO web GUI application manual for information on the different ways to connect to a LAN First make sure that your device and PLAYER ONE are on the same local network or are point to point connected Then press the ENTER key to access the main menu In the SOURCE submenu select the AIRPLAY source using t...

Page 20: ...o a LAN First make sure that your device and PLAYER ONE are on the same local network Then press the ENTER key to access the main menu In the SOURCE submenu select the DLNA source using the CONTROL SELECT digital encoder to navigate through the different parameters and press the encoder to confirm SELECT The selected parameter will flash until your selection is confirmed The DLNA MODE message flas...

Page 21: ...ss the encoder to select a menu and press the ESC key to return to the previous menu L o c a l R a d i o M u s i c Figure 8 Internet radio service navigation menu If you have already selected an Internet radio press the MENU button again to recall the last selection Press the ENTER key again to return to the beginning Press and hold the rotary encoder on an Internet radio for 2 seconds to preset t...

Page 22: ...lect your playlist as the source whether it is a preset Internet radio or a previously created playlist pointing to streaming content see the PLAYER ONE PLAYER ZERO web GUI application manual to learn how to set up a playlist by turning the CONTROL SELECT digital encoder to navigate through the different parameters and pressing the encoder to confirm SELECT The selected parameter will flash until ...

Page 23: ... set the Ethernet interface to DHCP or static dynamic or static addressing Turn the CONTROL SELECT encoder to select one of the two options o DHCP press the CONTROL SELECT encoder to display the IP address assigned to the device DHCP o STATIC if you have selected static addressing you can edit the network parameters from the front panel by pressing the CONTROL SELECT encoder to access the IP subme...

Page 24: ...ROL SELECT digital encoder to select the desired digit Press the NEXT key to advance to the next digit To confirm the password press the CONTROL SELECT digital encoder The next time you try to access the lock menu you will be prompted for the password to unlock the administrator functions After a while without pressing any key and as a precaution the configuration menu will be locked again It will...

Page 25: ...urce operation indicator 7 ESC key 8 ENTER key 9 STOP key 10 PLAY PAUSE key 11 PREV key 12 NEXT key 13 MICRO SD slot 14 USB port 15 WiFi Antenna 16 Security flange for power supply cable 17 External power supply connector 18 2 x RCA stereo output 19 Stereo mini jack output 20 RJ 45 connector 21 Factory Default Fail Safe button 22 GPI Port 23 Indicator Light WIFI 9 PLAYER ONE FUNCTION DIAGRAM ...

Page 26: ...impedance 460 ohm Dynamic range TBC Crosstalk TBC CONNECTIVITY Ethernet RJ45 10 100Mbps Wi Fi 2 4GHz Wi Fi 802 11 b g n Wi Fi antenna Front panel Programing and control Web Application RePLAYER Gallery Third party integration JSON REMOTE CONTROL CONNECTIONS GPIs 2 ports Dry contact to ground 3 pin Terminal block REAL TIME CLOCK Retention time 240 hours aprox Accuracy 1 minute month MONITORING AND ...

Page 27: ...ncluded AC mains requirement 90 264VCA 50 60Hz AC mains connector International AC plugs set Power consumption 6 VA 3 W Ventilation Passive PHYSICAL Operating temperature Min 0 C 32 F Max 35 C 95 F Operating humidity 85 HR Storage temperature Min 10 C 14 F Max 50 C 122 F Storage humidity 90 HR Installation options Desktop rack 1 2 of 1UR Included accessories AD DC Power Supply WiFi antenna adhesiv...

Page 28: ...28 PLAYER ONE PLAYER ZERO Web GUI v1 00r0 AUDIO PLAYERS Streaming and local media audio player USER MANUAL ...

Page 29: ...e local network via Ethernet wired or WiFi 12 FIRST STEPS In order for the device to access the PLAYER ONE PLAYER ZERO web application it must be connected to the network either via a cable RJ 45 connector or wirelessly WiFi Wired Ethernet connection By default PLAYER ONE PLAYER ZERO is set to DHCP mode It will be assigned an IP address automatically o Make sure that the static IP network paramete...

Page 30: ...rating mode no Internet connection is available However it will be useful when opening the web application for the first time and configuring the network parameters according to your needs CLIENT mode this connection mode allows the device to connect to your preferred WiFi network Mobile devices must then be connected to the same network in order to be able to configure PLAYER ONE PLAYER ZERO If y...

Page 31: ...ned to the PLAYER ONE PLAYER ZERO PLAYER ONE o Press and hold the MENU button for a few seconds until the configuration menu appears o Navigate by pressing the NEXT button until the display shows WIFI or ETHERNET depending on the chosen connection o Press the rotary encoder SELECT PLAYER ZERO As there is no screen to show you the IP you need to find it on the web GUI of the DHCP server Switch Rout...

Page 32: ...e PLAYER ONE PLAYER ZERO to a switch router via the Ethernet interface wired Connect the computer smart device to the same network Enter playerone local for PLAYER ONE or playerzero local for PLAYER ZERO into your browser 12 2 Quick Guide for WiFi Connection Connect the computer smart device to the PLAYER WIFI network Password 0123456789 Enter playerone local for PLAYER ONE or playerzero local for...

Page 33: ...els stereo mono volume control and reset mode There is useful information at the bottom of the page as well such as the firmware version and the Ecler Gallery registration key Figure 16 player page Player 1 Navigation menu displays the web application s different navigation menus and submenus 2 Streaming information displays information about the stream or the audio file depending on the way it is...

Page 34: ...be reloaded 8 Presets allows one of the available presets to be selected The RELOAD button allows the current preset to be reloaded If changes are made to the current preset a reload is required in order for the changes to be applied 9 Stereo mono selection of stereo output left and right channels or mono output same signal on left and right channel 10 Volume allows the volume to be controlled rem...

Page 35: ...when the device is reset the playback status will be maintained source preset playback PLAY STOP etc repeat mode etc o LOAD PRESET 1 when the device is reset it automatically loads preset 1 15 Information this displays the following relevant information o Year of development o Device firmware version o Ecler Gallery platform registration key 16 Screen refresh allows the screen refresh to be paused...

Page 36: ... it will display the configuration for that preset The names that appear for the presets can be edited within the preset configuration After this setting is saved in the preset you need to refresh the browser page F5 in order to display the changes in the header 2 Information displays useful information for configuring the presets 3 Configuration options for the selected preset 4 Save button saves...

Page 37: ...onfigured on the Events page See chapter Events for more information Please Note for the GPI event to work correctly it must be configured and enabled in the preset and the preset must be loaded If a preset is loaded when the GPIs are disabled the GPIs will not work 4 Playlist if this option is enabled when the preset is recalled the playlist that is currently playing will be replaced by the sourc...

Page 38: ...r example See technical information datasheet for audio and playlist formats that are supported by the player Please Note Internet radios saved via the front panel of PLAYER ONE are stored in the Playlist field 5 Play status if this option is enabled the status of the player will be overwritten when loading the preset 6 Volume MUTE if this option is enabled the volume MUTE of the player will be ov...

Page 39: ...age device musicfolder jazz folder Media stored in the SD card musicfolder jazz folder and up to the third level of sub folders in it mmc evacuation_message mp3 SD storage device root folder mp3 single file named evacuation_message mp3 usb evacuation_message mp3 USB storage device root folder mp3 single file named evacuation_message mp3 usb path my_collection m3u mmc path my_collection m3u Defined...

Page 40: ...h url http url port http 208 92 53 90 443 LOS40_SC Real time streaming Media served by an Internet audio streaming service with url http url folder http media_ musicradio com channel01 m3u Real time streaming Media served by an Internet audio streaming service a playlist with url http url playlist m3u 13 3 Events 3 events are available 2 of them are triggered by the GPI ports by means of external ...

Page 41: ...hem If the preset that is currently in operation has such an event enabled it is not necessary to reload the preset 5 Save button saves the changes made to the GPI that is being edited without applying them In this way if the preset that is currently in operation has such an event enabled the changes will only be applied when the preset is reloaded 6 Reset button resets the changes made to the las...

Page 42: ...I1 and GPI2 They can each be configured to trigger in different ways and perform independent actions Figure 19 GPI configuration Source Source source o Polarity polarity direct or inverse to define the trigger by contact closure or contact release ...

Page 43: ...ource playback of a source with priority over programmed audio The source specified in the Source path url field attenuates the source that is playing programmed audio When the priority audio ends the programmed audio resumes playing gradually returning to its previous volume If the HOLD option is selected the source specified in the Source path url field will be given priority WHILE the stimulus ...

Page 44: ...s or is interrupted for any reason which may sometimes happen due to certain problems that may arise loss of Internet accidental disconnection of the network cable bad files etc The show must go on Figure 21 silence event configuration Source tab waiting time or trigger threshold detection time Select the time allowed for silence no audio signal before the event is triggered Target tab select the ...

Page 45: ...a preset ensure that the audio address stored in the selected preset is a local one e g usb and that this preset has Play Status overwrite enabled so that the PLAY option is selected This will force the local medium to play ensuring the continuity of the musical programme 13 4 Calendar The Calendar page allows calendar triggered events to be configured A calendar event performs a certain action su...

Page 46: ...ing is saved in the calendar event you need to refresh the browser page F5 in order to display the changes The configurable parameters of each calendar event are grouped into 3 tabs o General activation deactivation of calendar events and their name o Source start end date start end time and event repeat conditions o Target action to be performed when the event is triggered Please Note before conf...

Page 47: ...Figure 24 configuring a calendar General Enable allows you to enable or disable the calendar If the calendar is enabled ready for activation by dates times it will be enabled in all presets Name name of the calendar 1 2 ...

Page 48: ...o specific date is selected dd mm yyyy the event will start on the same day as the changes are applied If you select a date that is before the current date the event will be valid as of the day the changes are applied Start time start time for the event This field is mandatory If there is a repeat condition this will be the time at which the event is triggered for the first time each day Duration ...

Page 49: ... if you set an event to be triggered on a day of the week which is not selected in the weekly mask it will never be triggered 13 4 3 2 Daily repetition Daily repetitions This option is set to be deselected by default Selecting it will open a drop down menu where you can configure the repetition conditions Interval repetition interval This indicates how often the calendar event triggering is repeat...

Page 50: ...nt will run for the last time each day This parameter cannot be configured read only It is intended to help the user configure the Interval and Times parameters in a more efficient way 13 4 3 3 Target An action that is executed each time the calendar event is triggered Figure 29 calendar event example Target ...

Page 51: ...sed to trigger an evacuation message In addition there is a higher level index that determines priority if it is the case that 2 calendar based triggers occur at the same time For example CALENDAR02 is set to repeat a message every hour and CALENDAR03 is set to repeat a message every two hours both events have the same start time The messages will alternate every hour as CALENDAR03 will take prece...

Page 52: ...ime of the establishment will be indicated pre recorded message 15 minutes before closing It will be recalled again 5 minutes before closing Campaigns there will be a special Christmas campaign from 15 December to 15 January indicating an offer pre recorded message This message is to be repeated every day during this period every 30 minutes Please Note there may be several methods of meeting these...

Page 53: ...ue dd mm yyyy This means that the event is active from the day the changes are applied The time is known 9 45 a m and it is to be played every day without an end date FOREVER Since the event is to be repeated from Monday to Friday the corresponding days are selected in the weekly mask ...

Page 54: ...54 Figure 32 The action of loading and playing the specified stream is configured Figure 33 ...

Page 55: ...ck of the background music is configured in the same way as the last one The only difference is that this time the action in question is to stop the playback STOP This calendar event will be given a different name and start time Figure 34 Figure 35 ...

Page 56: ...3 4 5 2 Calendar for closing announcements Every day the closing time of the establishment will be indicated pre recorded message 15 minutes before closing It will be recalled again 5 minutes before closing Figure 37 ...

Page 57: ...erefore it will be necessary to configure a calendar event that repeats one time 10 minutes after it is triggered for the first time This is achieved by enabling Repeat and configuring the Interval and Time parameters correctly Figure 38 Finally the message located on the SD card mmc will be announced with priority Figure 39 ...

Page 58: ...TOM END DATE and setting the End date and End time parameters correctly Regarding repetitions the message has to be played every 30 minutes and it is known that the establishment closes at 8 00 p m As there will be no audio at 8 00 p m we will set the number of repetitions in such a way that the last time the event is triggered is 30 min before closing ...

Page 59: ...59 Figure 41 Finally the message located on the USB device usb will be announced with priority Figure 42 ...

Page 60: ...e detected syncs the local content to make it an exact copy of the remote content This is a safe method of playing content during the device s working hours during the day as it is stored on local media and does not carry the same risks as receiving real time streaming PLAYER ONE PLAYER ZERO enables syncing through 2 services Google Drive and Store and Forward rsync Both services are compatible bu...

Page 61: ...ce to download content to local storage devices USB uSD on a daily basis at the selected time When a Google Drive folder is synced to the device it must only be managed through the Google Drive account Manually adding or deleting files in the synced folder will cause the syncing process to malfunction Considerations You will need to create a Google Account in advance in order to be able to use thi...

Page 62: ...pported by PLAYER ONE PLAYER ZERO is read only Write permissions are required to download and store content on the external USB or uSD media Figure 45 example of a local folder for content on Google Drive Please Note if you use storage media encryption alongside this you will not be able to create a folder for the synced content as the storage device will not be accessible to any device other than...

Page 63: ...le Drive configuration Before configuring Google Drive on your device make sure that the folder with the valid audio content that you want to sync is in your Google Drive account Only one folder can be synced Figure 47 example of a folder in Google Drive ...

Page 64: ...er than the space available on the storage media chosen on the device USB uSD the files will be downloaded in alphabetical order until the memory USB or uSD is full Error No se encuentra el origen de la referencia shows the Music folder in the root of the e xample Google Drive Therefore you would need to type Music in the Google Drive Folder to sync it to the PLAYER ONE PLAYER ZERO device 2 Google...

Page 65: ... 2 This will open a new tab in the Google application Sign in with your Google Account Figure 50 3 If the following warning message appears ignore it Click on Advanced Settings and then on Go to ePLAYER1 Figure 51 ...

Page 66: ...66 Figure 52 4 Accept the permissions required to view modify create and delete files and click Continue Figure 53 5 Copy the key that is generated ...

Page 67: ...the Google security token field and click on the VALIDATE TOKEN button Figure 55 7 The process will start the validation of the service The Google Drive Process Status field is displayed as RUNNING This process takes a few seconds ...

Page 68: ...he USB uSD folder has not been modified by adding or deleting files from a computer o The destination exists on the USB uSD o The USB uSD storage media is in a valid format FAT NTFS is not a valid format for use with Google Drive read only support o The USB uSD storage medium is not write protected 3 Synchronize contents run the sync immediately do not wait for the time set in the General tab Reco...

Page 69: ...ables disables the sync service 2 Time daily sync time Syncing with Google Drive will run every day at the specified time Tip Select a sync time that is outside the operating hours of the player Please note that the operation of downloading content from the cloud may take several minutes depending on the size of the files the number you need to download and the available Internet connection Do not...

Page 70: ... Load preset1 reboot mode This service uses the rsync Remote Sync sync tool Figure 60 Store Forward module 1 General enables the S F service and selects the sync time 2 Remote source remote server configuration 3 Local target configuration of the local folder where the content is stored 4 Log activity log for the S F module For more information on the Store Forward service please refer to Annex1 C...

Page 71: ...71 13 5 2 1 General Figure 61 S F General Enabled This enables disables the running of the daily sync Time time at which the daily sync is run ...

Page 72: ...he server where the audio content that is to be synced is stored Username user or name of the content group Private key private password generated for the indicated user or content group Please Note for security and efficiency reasons the remote server where the content is hosted must be SSH and public and private passwords must be enabled and used ...

Page 73: ...73 13 5 2 3 Local target Figure 63 S F Local target Path defined by the Playlist Path field for PRESET01 This can be changed in the preset settings ...

Page 74: ...ging possible server or device configuration problems 13 6 CMS Management CMS stands for Content Management System In this mode PLAYER ONE PLAYER ZERO can be configured to behave as a client of a content management platform obeying a schedule calendar events playlists announcements etc that is managed by the CMS company via the Internet ...

Page 75: ...lier distributor or fill in the contact form on our website in the Support Technical Queries section 13 7 Scripts LUA A script is a simple program a file of instructions written by the user in LUA language https www lua org Each script can be thought of as a script that the player runs a series of pre programmed tasks that are run when a certain stimulus is received ...

Page 76: ...iguration After this setting is saved in the script you need to refresh the browser page F5 in order to display the changes Useful information for script configuration and Lua reference manual Parameters of each script that can be configured Name name given to the script by the user This name will appear in the header of the Scripts LUA page Enable enables or disables the script Trigger stimulus t...

Page 77: ...It must indicate which of the servers it synced with Google Drive or rsync o ON LAN when detecting whether the LAN local network is available or not o ON WAN when detecting whether the WAN Internet access is available or not o ON MMC when a uSD card is connected or disconnected and recognized correctly by the device o ON USB when a USB device is connected or disconnected and recognized correctly b...

Page 78: ...r on this screen This is useful for debugging scripts Figure 69 example of a script return value Documentation for programmers links blue available on the device for consultation Internet connection required LUA LUA programming language manual Device PLAYER ONE PLAYER ZERO LUA library programmer s annex Details the objects functions and parameters of the library Interface between LUA and the firmw...

Page 79: ...This message has been configured so that when the player starts up the message Hello Ecler is displayed on the screen for 10 seconds Please Note this is only available for PLAYER ONE PLAYER ZERO does not have an LCD screen Figure 70 require ePLAYER1 ep ePLAYER1 new ep LCD_print2 line1 Hello line2 Ecler center true timeout 10 ...

Page 80: ...r uSD card to play their content This can be automated so that users simply have to insert their device into the device and playback starts automatically This avoids unauthorised tampering and or saves them from having to read the manual for the device So the following example script automatically plays the uSD card as soon as it is inserted You could create a script to do the same thing with the ...

Page 81: ...on multiple times within the same script In addition it loads preset1 which has local audio content stored and set to play PLAY when loaded in order to ensure continuity of the music program Figure 72 require ePLAYER1 ep ePLAYER1 new function blink text1 text2 nTimes for blink 1 nTimes 1 do ep LCD_print2 line1 text1 line2 text2 center true sleep 0 5 ep LCD_print2 line1 line2 center true sleep 0 5 ...

Page 82: ...event The device is playing an Internet radio station however due to a network problem it no longer has access to the radio After a few seconds without audio the silence detection event is triggered and the device starts playing content from the uSD card back up music However you want the radio that was playing to start up again automatically once the Internet connection is available again Figure ...

Page 83: ...LAN WAN Wireless allows parameters to be set for the wireless connection WiFi interface Please Note for detailed information on all network parameters click on this link 14 1 Connection via RJ45 cable By default PLAYER ONE PLAYER ZERO has automatic network addressing DHCP To change to manual addressing editing network parameters access the web application and go to the Network Interfaces menu ...

Page 84: ...ient static address Uptime connection time MAC MAC address of the device RX amount of data received TX amount of data transmitted IPv4 IP address of the device Edit network parameters accesses the Ethernet interface configuration Press the EDIT button to access the Ethernet interface configuration 1 2 ...

Page 85: ...85 Figure 76 accessing the network configuration Figure 77 editing network parameters ...

Page 86: ...86 Select Static address mode and press the SWITCH PROTOCOL button to edit the network addressing manually Figure 78 Configure the network parameters according to your infrastructure ...

Page 87: ...twork address IPv4 netmask subnet mask IPv4 gateway switch router with Internet access DNS1 Domain Name System 1 optional DNS2 Domain Name System 2 optional Save the changes on the Edit page and apply them on the Network Interfaces page ...

Page 88: ...ccessing the web application or for streaming via AirPlay DLNA Make sure that the wireless connection is enabled and the device is set to MASTER Access Point mode Figure 80 WiFi interface configuration In your device s WiFi settings select your device s WiFi network factory default PLAYER WIFI and enter the password 0123456789 A point to point wireless connection will be established ...

Page 89: ...ustomize the parameters with which the network is displayed we recommend changing the SSID and password of the WiFi network of your device s To do this click on the EDIT button and adjust the WiFi network parameters according to your needs When you have made the changes save and apply them Figure 82 editing WiFi network SSID ...

Page 90: ...90 Figure 83 editing WiFi password ...

Page 91: ...LAYER ONE PLAYER ZERO can connect to the Internet via a home WiFi network to access network addresses such as Internet radios or remote file syncing services such as Google Drive On the WiFi interface configuration page click SCAN Figure 84 ...

Page 92: ...92 Select your home WiFi network Please Note PLAYER ONE PLAYER ZERO is only compatible with 2 4GHz wireless networks Figure 85 ...

Page 93: ...93 Enter the password of the WiFi network you want to connect to and press the SUBMIT button Figure 86 ...

Page 94: ...94 The WiFi network settings are shown below Press the SAVE button if you do not need to make any additional changes Please Note the operating mode has changed to Client Figure 87 ...

Page 95: ...95 A wireless connection to your WiFi network will be established Figure 88 ...

Page 96: ...e etc 15 1 Name and Time Device name and time sync settings Figure 89 Name and Time General settings 15 1 1 General settings Local Time setting the time on the device You can sync it with the browser time Sync with Browser and or you can sync it via NTP server recommended if you have an Internet connection and you are using calendar triggered events Please Note syncing with an NTP server means you...

Page 97: ...ezone setting the time zone It is important to set this correctly if you are managing calendar events 15 1 2 Time synchronization Figure 90 Name and time Time synchronization Enable disable time syncing with an NTP server This also allows you to manage the candidate servers for syncing Please Note PLAYER ONE PLAYER ZERO has an internal clock that means that you won t lose the time setting if it is...

Page 98: ...hanges can be made to prevent unauthorized personnel from tampering with the player 15 2 1 Web password Password for accessing the web application By default ecler Please Note the user is always root This cannot be changed Figure 91 ...

Page 99: ...uttons on the front panel o UNLOCK USER locks access to the device configuration menu administrator functions allowing the use of all other functionalities o LOCK ALL locks all buttons on the front panel UNLOCK Password Password for unlocking If the device is in lock mode once you have entered the password you will have a window of time in which to use the device After you stop using it the device...

Page 100: ...00 15 2 3 RePlayer 4 digit PIN for accessing the device via the RePLAYER control application Click on this link to find all the information and documentation related to the control application Figure 93 ...

Page 101: ...101 15 3 Backup Restore and Firmware Manage backups of your device and retrieve configuration files and also update the firmware version Figure 94 System Backup restore and firmware ...

Page 102: ...vents Scripts Google Drive Store and Forward Front panel lock settings Network settings System Name Time NTP Player Profile Encryption Web password Partial no playlist Figure 96 types of backup or configuration files Save Backup generates a backup that will be stored in the download folder which is configured in your browser Save backup to local storage generates a backup that will be saved to the...

Page 103: ... lost Please Note if encryption is being used and you restore it to factory settings or restore an administrator file the content on the storage media will not be able to be recovered 15 3 3 Firmware Update Figure 98 Firmware Keep Settings keeps the device s current settings If you want to return to factory settings after updating the firmware deselect this box It is selected by default Flash Firm...

Page 104: ...crypts the media formatting the external drive This process deletes all content from the memory of the uSD or USB device 2 This process may take several minutes FORMATTING is displayed on the LCD screen for the duration of the process PLAYER ONE only 3 At the end of the process NO FILES will be displayed on the LCD screen indicating that it has been formatted correctly and there are no audio files...

Page 105: ...ontent can be read by the device that encrypted it as long as the encryption option is not changed That is if the encryption function is disabled the device will stop using this function and therefore will be able to read any external storage media However it loses the keys to the previously encrypted external media and you will therefore not be able to play the content stored on them Please Note ...

Page 106: ...vity This information can be useful for troubleshooting monitoring device activity checking for correct programming etc The lines in the register contain information about actions performed by the device errors and or announcements along with time information when different events occur The register page displays a list of the register lines reported by the device The device register is updated da...

Page 107: ...107 15 6 Reboot Allows you to reboot the device from the web application Click the PERFORM REBOOT button to force the player to reboot Figure 102 Reboot ...

Page 108: ...tent with the device during working hours during the day storing it on a local media without the risks associated with real time streaming Store and Forward utility for synchronizing music content remotely uses rsync Remote Sync tool for it In this guide it is shown an example of how to configure a SSH server using Linux Ubuntu Desktop 18 04 2 LTS It is important that all machines server and clien...

Page 109: ... to access assigned content in the server that hosts all the music advertisements voice messages etc Each content group or user can have associated multiple connections at the same time The maximum number of simultaneous connections will depend on the power of the hardware server So we will be creating as many content groups or users on Linux as contents music folder e g we want to manage SSH Serv...

Page 110: ...gned to it in order to access to any content in the SSH server since the key is known It is recommended to create a user per content group for professional applications in which the same SSH server hosts content for different companies However if the final user is generating its own content a single user would be enough SSH Server user adds campaign1 user music Pop user backgnd folder1 CONTENT GRO...

Page 111: ...Creating users on Linux There will be created as many users as content groups have to be managed To add a new user type sudo adduser new_user_name Where new_user_name stands for the name you want to give to the content group for example sudo adduser hotels Figura 106 Now login as the new user su user_name And enter the password introduced in the step before Enter a password for the user Repeat the...

Page 112: ...112 In this example su hotels Figura 107 ...

Page 113: ...n use the following command to generate the keys and press enter to each question showed up ssh keygen Figura 108 Add the public keys to the authorized keys Use the following command cat ssh id_rsa pub ssh authorized_keys Display the private key you will need to introduce in the ePLAYER1 s Store and Forward configuration page cat ssh id_rsa ...

Page 114: ...114 Figura 109 Copy from here To here ...

Page 115: ...io content in directory sudo cp r home ecler sandf hotels home hotels Notice that in directory home ecler sandf it is storage all the different audio content for each content group or user organized in folders Figura 110 Copy the new directory created home hotels hotels It is the folder where audio contents are storage in the host and need to be copied into PLAYER ONE PLAYER ZERO S F s configurati...

Page 116: ...S F application Host is the IP of the SSH server To check it you can type on the Terminal ifconfig Figura 111 Port Port of the SSH server 22 by default Folder the directory inside the SSH server with the audio content to sync Username user or name of content group Private key key generated for the user or content group ...

Page 117: ...117 Figura 112 This configuration is the same for every device in the content group Repeat steps 3 to 6 for every content group you want to configure for Store Forward ...

Page 118: ...118 THIRD PARTY CONTROL PROTOCOL PLAYER ONE JSON Commands USUER MANUAL ...

Page 119: ...TER button for 2 3 seconds to enter admin menu To let some control systems like CRESTRON EXTRON AMX RTI VITY MEDIALON etc process the messages more easily PLAYER ONE allows to the end of each message with a CR n line feed character 10 All commands answer result true success or result false something failed 19 PLAYER COMMANDS SET PLAYER STEREO MONO Mono mode jsonrpc 2 0 method Player Stereo Stereo ...

Page 120: ... 128 duration freq 44 1 playlist_index 0006 0056 PLAYER ADD NEXT PLAYLIST ITEM With this function user can manage device playlist simply inserting next item before the end of current item set next item to next_item mp3 jsonrpc 2 0 method Player QueueNextElem url mmc next_item mp3 PLAYER INSERT PRORITY ITEM With this function user can insert a priority item that will be played over the actual playi...

Page 121: ... jsonrpc 2 0 method Player Open Preset 10 OPEN SOURCE INDEX 4 AIRPLAY FROM AVAILABLE SOURCES LIST Source must be a valid player source index Please check Get of list available sources to know all valid sources jsonrpc 2 0 method Player Open Source 4 GET LIST OF AVAIABLE SOURCES This command returns the list of available sources jsonrpc 2 0 method Source GetList SourceList MMC USB UNAVAILABLE DLNA ...

Page 122: ...k the Player LUA manual in order to check all the interface settings variable values In order to set preset01 settings bname preset name user should send next command to the PLAYER ONE jsonrpc 2 0 method CFG set interface preset01 section settings variab le bname value MIDNIGHT PRESET STORE CHANGES IN DEVICE INTERNAL MEMORY This function stores all interface variables to the internal device memory...

Page 123: ...mmand Reload calendar 24 example jsonrpc 2 0 method Calendar Reload Index 24 24 STORE AND FORWARD COMMANDS SAF variables for GFG get and CFG set Please check Player LUA manual SAF variables RELOAD SAF Reload SAF configuration Must be called after modifing SAF variables and call commit command jsonrpc 2 0 method SAF Reload 25 GOOGLE DRIVE COMMANDS SAF variables for GFG get and CFG set Please check ...

Page 124: ...t variables RELOAD SCRIPT Reload script configuration Index should be script index 1 to 20 Must be called after modifying Script variables and call commit command Reload script 7 example jsonrpc 2 0 method Script Reload Index 7 EXECUTE SCRIPT 6 jsonrpc 2 0 method Script Command Index 6 Command Start KILL SCRIPT 3 jsonrpc 2 0 method Script Command Index 3 Command Stop QUERY SCRIPT 11 STATUS jsonrpc...

Page 125: ...2 0 method Device GetMac mac 32 41 41 20 40 42 DEVICE GET GALLERY REGISTRATION KEY jsonrpc 2 0 method Device GetRegkey regkey 2E1BB146B2DB2WA1 30 PANEL COMMANDS PANEL SET LOCK SETTINGS Set panel Lock to UNLOCK ALL UNLOCK USER LOCK ALL Set panel password to Pass jsonrpc 2 0 method Device Panel Lock LOCK ALL Pass 1234 PANEL GET LOCK SETTINGS jsonrpc 2 0 method Device GetPanel Lock UNLOCK ALL Pass FI...

Page 126: ...1 firmware using the well known ePLAYER1 JSON protocol Basically is composed by different kind of objects PLAYER access player functions CFG access configuration With this object you can access all the ePLAYER1 configuration PRESET PRESET settings There are 20 presets that act as memories where you can store all the ePLAYER1 player settings like url play mode repeat mode fade mode etc EVENT Event ...

Page 127: ... module manually and create your ePLAYER1 object as you need using the next two lines of code In this case you can program actions directly to your ePLAYER1 device but also it is possible to access ePLAYER1 directly from your PC in this case it is recommended to use some LUA development tool like Eclipe LUA If you want to use ePLAYER1 directly from your PC you can call new function with IP and POR...

Page 128: ... is selected Function Description Set the player fade mode Arguments nFade integer 0 OFF 1 XFADE 2 FADE Function Description Set the player playlist sequence mode Arguments nPlayMode integer 0 SEQUENTIAL 1 RANDOM Function Description Set the player repeat mode Arguments nRepeat integer 0 PLAY ALL 1 PLAY ONE 2 REPEAT ALL 3 REPEAT ONE Function Description Get the player statistics and status Return ...

Page 129: ... this function you can compose your own playlist In order to do a continous play it is necessary to queue next item prior to the end of the current one Arguments urlNextElem url of the item to add Function Description Use this function to play priority sounds over the normal playlist It apply Return String url of the priority element Function Description If the player is paused or stopped use this...

Page 130: ...n 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 orurl 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 ...

Page 131: ...rver ePLAYER1 mycompany settings Arguments urlRestore String indicating the url where settings you want to restore Note If you wan to apply all settings you must call DEV_reboot or call every XXX_reload function to apply changes one per one Function Description Backups ePLAYER1 settings to urlBackup Arguments urlBackup String indicating the url where settings are stored e g mmc good settings confi...

Page 132: ...face section variable value Description Set the value of the selected variable interface section variable to value Arguments interface must be a valid interface preset cms saf calendar 01 24 event gpi1 gpi2 silence gdrive script and log section variable s section Most of the cases is settings variable variable s name value variable s value Function CFG_commit function interface Description Commit ...

Page 133: ...It appears as source presetNN settings bStatus 1 to overwrite status presetNN settings status Preset status must be PLAY or STOP presetNN settings bVolume 1 to overwrite preset volume presetNN settings volume Preset volume in from 0 to 100 presetNN settings mute 1 indicates mute 0 to unmute presetNN settings bPlayMode 1 to overwrite play mode presetNN settings playMode RANDOM or SEQUENTIAL presetN...

Page 134: ...ter 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 firstpreset 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 ...

Page 135: ...o 1 to active retrigger option 0 to disable it gpiN settings target_prio_pulse_time If target_prio_retrigger 1 put here the playback duration Note N should be 1 or 2 for GPI1 or GPI2 While programming SILENCE this variables ara available silence settings source_detecttime Put here the detection time in seconds silence settings target_type INTERNAL PRESET RECALL LOAD PLAY SOURCE silence settings ta...

Page 136: ... 2 first letters MoTuWeThFrSaSu calendarNN settings source_repeat_enable 1 indicates that the calendar must repeat the selected interval time up to the number indicated in times variable 0 no repetition calendarNN settings source_repeat_interval If repeat is enabled this parameter indicates the repetition time calendarNN settings source_repeat_times If repeat is enalbed this parameter indicates th...

Page 137: ..._commit 33 7 1 Store and Forward variables saf settings bEnabled Set to 1 to enable daily Store and Forware synchronization saf settings time_param Enter here the synchronization hour HH MM saf settings host Put here the rsync ssh server address saf settings port Enter here the rync ssh port default 22 saf settings source_path Enter here the server folder where the contents are stored saf settings...

Page 138: ...te process one time after change the key with CFG_set Function GDRIVE_synchronize Description Run the synchronization process It s mandatory to run authenticate process before to call GDRIVE_synchronize only fist time 33 8 1 Store and Forward variables gdrive settings bEnabled Set to 1 to enable daily Google Drive synchronization gdrive settings time_param Enter here the synchronization hour HH MM...

Page 139: ...ntact you ECLER sales rep cms settings cms_http If cms_partner_enabled is disabled put here your server protocol HTTPS or HTTP cms settings cms_host Enter here your CMS host address cms settings cms_port Enter here your CMS host port If using default port leave it blank 33 10 SCRIPTS FUNCTIONS CMS lets you automate ePLAYER1 reproduction using a CMS web portal If you are an ECLER CMS partner you sh...

Page 140: ...tes the sellected script Arguments nIndex number indicating the script index to reload Must be a number between 1 and 20 Function Description Retrieves the sellected script status Arguments nIndex number indicating the script index Must be a number between 1 and 20 Return A XML string with script status status Idle or status Running or status Success or status Failed ...

Page 141: ...gger is ON CLOUD DISK SYNC you could select here RSYNC or GOOGLE DRIVE scriptNN settings trigger_network If trigger is ON LAN or ON WAN enter here the action that triggers the script Could be AVAILABLE or UNVAILABLE scriptNN settings trigger_mmc if trigger is ON MMC enter here the action that triggers the script Could be PLUG or UNPLUG scriptNN settings trigger_usb if trigger is ON USB enter here ...

Page 142: ...YER1 inmediatly Function Description Get the ePLAYER1 firmware version Return txtVersion string containing ePLAYER1 firmware version formatted Function Description Installs a new ePLAYER1 firmware version After installation device is rebooted automatically Arguments urlFirmware Url containing the path where ePLAYER1 firmware resides Must be a local storage device or http https url Function Descrip...

Page 143: ...ocal storage is encrypted Function Description Get local storage encrypted flag Arguments devUrl string must be mmc or usb Return bEncrypt boolean true if local storage is encrypted Function Description Get device MAC address Return jsonMAC json string representing MAC address value mac A8 40 41 16 47 D6 require ePLAYER1 ep ePLAYER1 new print usb ep DEV_get usb total user percent ep DEV_get mmc pr...

Page 144: ...s lockMode string indicating lock mode Possible options are UNLOCK ALL UNLOCK USER LOCK ALL password string with the LOCK UNLOCK password Max length is 8 Valid characters are 0 9 A Z Function Description Set the panel lock mode and password Return lockMode string representing lock mode Possible values are UNLOCK ALL UNLOCK USER LOCK ALL password string with the LOCK UNLOCK password bEncrypt DEV_re...

Page 145: ...txtLine1 String corresponding to the text on the first LCD line txtLine2 String corresponding to the text on the second LCD line center Booelan set to true to center the text on the LCD display timeout Number of seconds that message is showed in ePLAYER1 LCD display Function LCD_print2 txtLine1 txtLine2 bCenter nTimeout Description This functions shows a message on the ePLAYER1 LCD display Paramet...

Page 146: ...lid audio stream looks like this http www my_favourite_radio mp3 http 111 111 11 1 8080 http listen radio rock m3u etc An address such as http www my_radio com is not directly an audio streaming but a generic website address This website could include a real audio streaming service which will have its own URL 34 1 How to discover streaming URLs included in websites 1 EXAMPLE 1 1 Open your favourit...

Page 147: ...FY INTERNET RADIO URL STREAMS 147 4 Open this m3u with a text editor You will see the audio streaming URL 5 To check it open a new tab in your web browser and copy paste this URL If it is valid it will start to play ...

Page 148: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 148 6 Finally save this address in your audio streaming player ePLAYER1 DUO NET PLAYER ...

Page 149: ... web browser 2 Type or search for a live radio manager website Internet radio com is used in this example 3 In this website search your radio and click on m3u or pls link An m3u or pls file will be downloaded 4 Open this m3u with a text editor You will see the audio streaming URL ...

Page 150: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 150 5 To check it open a new tab in your web browser and copy paste this URL If it is valid it will start to play ...

Page 151: ...ur audio streaming player ePLAYER1 DUO NET PLAYER 34 2 Playing internet radios via AirPlay ePLAYER1 ePLAYER1 must be in AirPlay Mode Please consult the user manual to know more about it 1 Download and install iTunes Once is installed in your PC open it and click on Music Edit Menu ...

Page 152: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 152 2 Check Internet Radios 3 Now select Internet Radios You will see a wide catalogue of internet radio streamings ...

Page 153: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 153 ...

Page 154: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 154 4 Select your favourite radio and click on it Check on iTunes that ePLAYER1 is selected as the AirPlay device 5 ePLAYER1 will start to play ...

Page 155: ...NA S L reserves the right to make changes or improvements in the design or manufacturing that may affect these product specifications For technical queries contact your supplier distributor or complete the contact form on our website in Support Technical requests Motors 166 168 08038 Barcelona Spain 34 932238403 information ecler com www ecler com ...

Reviews: