background image

 

 

 

53

 

T.O.C

PRE
CAUTI

O

N


FEATUR

ES

 

IN

ST

ALL
 

&

 

CO

N

N

EC

T

TE

CHN
IC

AL 

DATA

 

PAN

EL 

FUN

CT

IO

N

ST

ART

-UP
 

&

 

O

PE

RATI

O

N

 

WebGU

I

 

SW 

TP

-CONTR

OL

 

LUA
-SDK
 

7.2.7.1

 

EXAMPLE SCRIPT01: 

Write messages on the LCD screen 

The following is an example of how to write a message on the LCD. 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 35 

 

 

require "PLAYER" 

 

ep = PLAYER.new() 

 

ep.LCD_print2({line1="Hello",line2="Ecler",center="true",timeout=10}) 

 

 

Summary of Contents for PLAYER ZERO

Page 1: ...0104 PLAYER ZERO EN PLAYER ZERO AUDIO PLAYER Local and Streaming Audio Player USER MANUAL PRECAUTIONS FEATURES INSTALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL...

Page 2: ...erface for configuration and Internet connection 9 3 6 GPI remote control ports 10 4 START UP and OPERATION 11 4 1 Restore default Firmware Update 11 5 PANEL FUNCTIONS 12 5 1 Front Panel 12 5 2 Rear P...

Page 3: ...the SSH server 82 7 5 6 Configurind the remote source in the player 83 8 TP CONTROL PLAYER JSON Commands PRODUCT OVERVIEW 85 8 1 Player Commands 85 8 2 Configurations Commands 88 8 3 Preset Commands...

Page 4: ...L CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK 9 2 9 Register LOG Functions 102 9 2 10 Device DEV Functions 103 9 2 11 Panel Functions 104 9 2 12 Finder Fun...

Page 5: ...he use of ready made leads or cords WARNING To prevent fire or shock hazard do not expose this equipment to rain or moisture WARNING A device with Class I construction shall be connected to a mains so...

Page 6: ...rts or when unused for long periods of time 13 Refer all servicing to qualified personnel Servicing is required when the device has been damaged in any way such as power supply cord or plug is damaged...

Page 7: ...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 acc...

Page 8: ...fessional installations it should preferably be placed in the same rack as the audio sources Since its power consumption is very low forced ventilation is not necessary However avoid exposing the devi...

Page 9: ...ration of the unit using a web browser on the computer which points to the IP address of the PLAYER ZERO showing the web application embedded in the unit Refer to the PLAYER ONE PLAYER ZERO web GUI ap...

Page 10: ...h an PLAYER ZERO function Load and play previously configured audio content Preset recall Audio playback with priority over the music program Transport bar control PLAY PAUSE STOP etc Internal trigger...

Page 11: ...d 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 Restore firmware Install the latest firmware published on the Ecler websi...

Page 12: ...D LED Micro SD source operation indicator 5 MICRO SD MICRO SDHC slot for local audio content playback Up to 2TB FAT16 32 format 6 USB 2 0 port for local audio content playback Up to 2TB FAT16 32 and N...

Page 13: ...ocal storage USB microSD Internet radio AirPlay DLNA Dynamic range From 80 dB to 0 dB THD Noise 0 008 1kHz 1Vrms ANALOGUE AUDIO OUTPUTS Number of outputs 2 x Stereo output unbalanced Connection type R...

Page 14: ...upport USB 2 0 High Speed 480 Mbps Capacity Up to 2TB File system Supports FAT16 FAT 32 VFAT and NTFS read only Multi partition up to 1 Playable audio files mp3 ogg WAV FLAC AIFF m3u pls Files analysi...

Page 15: ...4 F Max 50 C 122 F Storage humidity 90 HR Installation options Desktop rack 1 3 of 1UR Included accessories AD DC Power Supply WiFi antenna adhesive rubber feet rack tray screws GPI connector warranty...

Page 16: ...16 T O C PRECAUTIONS FEATURES INSTALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK 6 2 MECHANICAL DIAGRAM...

Page 17: ...TIONS FEATURES INSTALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK PLAYER ONE PLAYER ZERO Web GUI v1 00r0 AUDIO PLAYERS Streaming and local media audio pla...

Page 18: ...y The application can be accessed in a web browser from any device that is connected to the same local network via Ethernet wired or WiFi 7 1 FIRST STEPS In order for the device to access the PLAYER O...

Page 19: ...d connect to the PLAYER WIFI network default SSID The default password is 0123456789 Please Note in this operating mode no Internet connection is available However it will be useful when opening the w...

Page 20: ...mDNS service is not available you can also access the device using the IP assigned to the PLAYER ONE PLAYER ZERO PLAYER ONE o Press and hold the MENU button for a few seconds until the configuration...

Page 21: ...ge 7 1 1 QUICK GUIDE FOR ETHERNET CONNECTION 1 Connect the PLAYER ONE PLAYER ZERO to a switch router via the Ethernet interface wired 2 Connect the computer smart device to the same network 3 Enter pl...

Page 22: ...e modes channels 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 7 pl...

Page 23: ...XT STOP PLAY PAUSE Please Note PLAYER ZERO has no playback controls on the front panel 7 Sources allows one of the available sources to be selected The RELOAD button allows the current source to be re...

Page 24: ...k file is short 2 3 sec tone for example and XFADE transition mode is used together with REPEAT ONE ALL repeat mode special attention must be paid to the playback times of the files and the transition...

Page 25: ...ets Their default names are P01 P02 P20 When you click on the name it will display the configuration for that preset The names that appear for the presets can be edited within the preset configuration...

Page 26: ...event in the preset The GPIs and the silence detection event must be configured on the Events page See chapter Events for more information Please Note for the GPI event to work correctly it must be c...

Page 27: ...aylists m3u file for 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...

Page 28: ...Defined by the m3u playlist file Media pointed by my_collection m3u playlist path is the folder path where the m3u file is located usb path my_songs m3u8 mmc path my_songs m3u8 Defined by the m3u8 pl...

Page 29: ...header displays GPI and silence events When you click on the name it will display the configuration for that event 2 Information displays useful information for configuring the events 3 Configuration...

Page 30: ...7 2 3 1 GPI EVENTS There are 2 GPI events GPI1 and GPI2 They can each be configured to trigger in different ways and perform independent actions Figure 10 GPI configuration Source Source source o Pola...

Page 31: ...mmed 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 returnin...

Page 32: ...before the event is triggered Target tab select the action that PLAYER will perform when the specified waiting time has elapsed o Internal internal stimulus This is useful for triggering actions withi...

Page 33: ...ult names are C01 C02 C24 When you click on the name it will take you to the configuration for that calendar event The names that appear for the calendar events can be edited within the preset configu...

Page 34: ...WebGUI SW TP CONTROL LUA SDK Figure 14 Name and Time configuration 7 2 4 1 GENERAL Figure 15 configuring a calendar General Enable allows you to enable or disable the calendar If the calendar is enabl...

Page 35: ...he 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...

Page 36: ...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 trigg...

Page 37: ...ck of a source with priority The source with priority will overwrite the source that is currently playing When the priority announcement message ends the source that was playing will start to play aga...

Page 38: ...oes not have an LCD screen 7 2 4 6 PRACTICAL EXAMPLE OF CONFIGURATION OF CALENDAR EVENTS An establishment whose business hours are 10 00 a m to 8 00 p m and which is open from Monday to Friday require...

Page 39: ...to stop it The calendar is enabled and it is given an identifying name Figure 22 Since no start date is specified Start date is left as the default value dd mm yyyy This means that the event is activ...

Page 40: ...ding and playing the specified stream is configured Figure 24 The calendar event that will stop the playback of the background music is configured in the same way as the last one The only difference i...

Page 41: ...41 T O C PRECAUTIONS FEATURES INSTALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK Figure 26 Figure 27...

Page 42: ...ssage 15 minutes before closing It will be recalled again 5 minutes before closing Figure 28 The message should be played twice a day 15 minutes before closing at 7 45 p m and 5 minutes before closing...

Page 43: ...LUA SDK Finally the message located on the SD card mmc will be announced with priority Figure 30 1 1 1 1 CALENDAR FOR CHRISTMAS CAMPAIGN Figure 31 As this is for a specific calendar interval 15 12 21...

Page 44: ...sage 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...

Page 45: ...is active it checks a remote location that hosts audio content on a daily basis compares it to the current content stored on local media USB uSD and if necessary if differences are detected syncs the...

Page 46: ...automatic playback of this content in combination with the Load preset1 reboot mode This service uses the rsync Remote Sync sync tool Figure 44 Store Forward module 1 General enables the S F service...

Page 47: ...TALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK 7 2 6 1 GENERAL Figure 45 S F General Enabled This enables disables the running of the daily sync Time tim...

Page 48: ...ver Port server port by default 22 Folder directory within the server where the audio content that is to be synced is stored Username user or name of the content group Private key private password gen...

Page 49: ...2 6 3 LOCAL TARGET Figure 47 S F Local target Path defined by the Playlist Path field for PRESET01 This can be changed in the preset settings 7 2 6 4 LOG Figure 48 S F Log This displays information a...

Page 50: ...rable The default names are S01 S02 S20 When you click on the name it will take you to the configuration for that script The name that appears here for the script can be edited within the script confi...

Page 51: ...syncing with a remote server is successfully completed with sync result OK It must indicate the server it synced with rsync ON LAN when detecting whether the LAN local network is available or not ON...

Page 52: ...f the script You can write output messages that will appear on this screen This is useful for debugging scripts Figure 52 example of a script return value Documentation for programmers links blue avai...

Page 53: ...he following is an example of how to write a message on the LCD This message has been configured so that when the player starts up the message Hello Ecler is displayed on the screen for 10 seconds Ple...

Page 54: ...e the music In other words they will connect their USB device or uSD card to play their content This can be automated so that users simply have to insert their device into the device and playback star...

Page 55: ...also been written in such a way that we can use the blink function multiple times within the same script In addition it loads preset1 which has local audio content stored and set to play PLAY when loa...

Page 56: ...n be good to use this in combination with the silence detection 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...

Page 57: ...you to configure the Ethernet and WiFi network interfaces Figure 57 Network Interfaces Interfaces allows parameters to be edited for the wired connection RJ 45 Ethernet port LAN WAN Wireless allows p...

Page 58: ...web application and go to the Network Interfaces menu Figure 58 1 Network information checking network parameters and network information Protocol DHCP client static address Uptime connection time MAC...

Page 59: ...ONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK Figure 60 editing network parameters Select Static address mode and press the SWITCH PROTOCOL button to edit the...

Page 60: ...igure the network parameters according to your infrastructure Figure 62 IPv4 address device network address IPv4 netmask subnet mask IPv4 gateway switch router with Internet access DNS1 Domain Name Sy...

Page 61: ...vice PC smartphone tablet etc either for accessing 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...

Page 62: ...m or you simply want to customize 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 butto...

Page 63: ...NETWORK PLAYER 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 On the WiFi interface configurat...

Page 64: ...UI SW TP CONTROL LUA SDK Enter the password of the WiFi network you want to connect to and press the SUBMIT button Figure 69 The WiFi network settings are shown below Press the SAVE button if you do n...

Page 65: ...established Figure 71 7 4 SYSTEM In the Settings menu you can make changes as an administrator such as changing the device name or the password for accessing the web application or local media encrypt...

Page 66: ...AYER control application or mDNS By default this is playerone for PLAYER ONE and playerzero for PLAYER ZERO Enter hostname local in your browser s search bar to access the device s web GUI playerone l...

Page 67: ...ON WebGUI SW TP CONTROL LUA SDK 7 4 2 SECURITY On this page changes can be made to prevent unauthorized personnel from tampering with the player 7 4 2 1 WEB PASSWORD Password for accessing the web app...

Page 68: ...OCK mode selection of the lock mode o UNLOCK ALL unlocks all buttons on the front panel o UNLOCK USER locks access to the device configuration menu administrator functions allowing the use of all othe...

Page 69: ...ANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK 7 4 2 3 REPLAYER 4 digit PIN for accessing the device via the RePLAYER control application Click on this link to find all the information...

Page 70: ...e and retrieve configuration files and also update the firmware version Figure 77 System Backup restore and firmware 7 4 3 1 MAKE BACKUPS Figure 36 Backup Backup type type of backup o ADMIN SETTINGS s...

Page 71: ...the specified local storage address with the specified name For example mmc backups copy1 config example of a folder on a uSD card inserted in the player 7 4 3 2 RESTORE BACKUPS AND FACTORY SETTINGS...

Page 72: ...tc Flash Firmware from updates via a firmware file hosted on one of the device s storage media USB or uSD You can also use a file hosted in a remote location with a URL address 7 4 4 USB MMC SETTINGS...

Page 73: ...device uSD or USB that is inserted into the corresponding port and which does not contain the encryption keys will be encrypted and therefore all files will be deleted As a result it will not be able...

Page 74: ...you save this setting the device will encrypt the disk the next time the drive is mounted either when the media is inserted or when the device is rebooted Apply Encrypt now immediately encrypts the m...

Page 75: ...rformed 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 regi...

Page 76: ...CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK 7 4 6 REBOOT Allows you to reboot the device from the web application Click the PERFORM REBOOT button to force...

Page 77: ...so that it is an exact copy of the remote content This is a safe method of playing content with the device during working hours during the day storing it on a local media without the risks associated...

Page 78: ...r 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 de...

Page 79: ...nal 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 Figura 87 single user 7 5 2 IN...

Page 80: ...ill 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 ex...

Page 81: ...t to the home folder of the new user To do this cd Then use the following command to generate the keys and press enter to each question showed up ssh keygen m PEM Figura 90 Add the public keys to the...

Page 82: ...me directory of each content group sudo cp r path_with_content path_to_place_it In this example it will be copied the audio content in directory sudo cp r home ecler sandf hotels home hotels Notice th...

Page 83: ...is the IP of the SSH server To check it you can type on the Terminal ifconfig Figura 93 Port Port of the SSH server 22 by default Folder the directory inside the SSH server with the audio content to...

Page 84: ...84 T O C PRECAUTIONS FEATURES INSTALL CONNECT 1 TECHNICAL DATA PANEL FUNCTIONS START UP OPERATION WebGUI SW TP CONTROL LUA SDK THIRD PARTY CONTROL PROTOCOL PLAYER ONE JSON Commands USER MANUAL...

Page 85: ...check IP address hold ENTER 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...

Page 86: ...1 repeat 2 playmode 0 fade 1 bootpreset1 0 sp 1 bitrate 128 duration freq 44 1 playlist_index 0006 0056 PLAYER ADD NEXT PLAYLIST ITEM With this function user can manage device playlist simply insertin...

Page 87: ...t command jsonrpc 2 0 method Player Volume Volume 50 OPEN PLAYLIST URL Url param must be any valid device url jsonrpc 2 0 method Player Open Url http 50 7 181 186 8060 OPEN PRESET INDEX 10 Preset para...

Page 88: ...e Player LUA manual in order to check all the interface settings variable values In order to retrieve preset01 settings bname preset name user should send next command to the PLAYER ONE jsonrpc 2 0 me...

Page 89: ...load indicated event Name should be GPI1 GPI2 or SILENCE Must be called after modifying event variables and call commit command jsonrpc 2 0 method Event Reload Name GPI1 8 5 CALENDAR COMMANDS Calendar...

Page 90: ...L SCRIPT 3 jsonrpc 2 0 method Script Command Index 3 Command Stop QUERY SCRIPT 11 STATUS jsonrpc 2 0 method Script Status Index 11 status Idle 8 8 REGISTER COMMANDS ADD REGISTER LINE Add line to devic...

Page 91: ...2E1BB146B2DB2WA1 8 10 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...

Page 92: ...layer settings like url play mode repeat mode fade mode etc EVENT Event configuration lets PLAYER execute automated functions There are 3 possibilities GPI1 GPI2 and SILENCE settings CAL Calendar conf...

Page 93: ...our source code using require statement PLAYER automates this function for you but you can also include PLAYER module manually and create your PLAYER object as you need using the next two lines of cod...

Page 94: ...for stereo output otherwise mono output 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 mod...

Page 95: ...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 prio...

Page 96: ...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...

Page 97: ...where settings are stored e g mmc good settings config http my server PLAYER mycompany settings bUser Boolean set to true for user settings only otherwise all the settings are backuped to the target...

Page 98: ...ary to dump changes to PLAYER internal memory Do it one time for each modified interface Arguments interface must be a valid interface network wireless preset saf calendar 01 24 event gpi1 gpi2 silenc...

Page 99: ...bPlayMode 1 to overwrite play mode presetNN settings playMode RANDOM or SEQUENTIAL presetNN settings bRepeatMode 1 to overwrite repeat mode presetNN settings repeatMode PLAY ALL PLAY ONE REPEAT ALL o...

Page 100: ...ort If target_type TRANSPORT CONTROL enter here one of this options STOP PLAY PREV RW NEXT FW gpiN settings target_loadsource if target_type LOAD PLAY SOURCE or target PRIORITY SOURCE put here the url...

Page 101: ...MM DD calendarNN settings source_end_time If CUSTOM END DATE is selected put here the calendar end time HH MM calendarNN settings source_week_nonactive Week mask where calendar is not active Should b...

Page 102: ...stored saf settings source_user SSH rsync username parameter saf settings source_key Enter here your private SSH rsync key saf settings source_timeout Enter here the SSH rsync operation timeout in sec...

Page 103: ...the path where PLAYER firmware resides Must be a local storage device or http https url Function Description Get the PLAYER firmware version Arguments devUrl url of local storage device Must be mmc or...

Page 104: ...40 41 16 47 D6 Function Description Get device Registration Key code Return jsonMAC json string representing Registration Key code regkey A269FCEAB4F1C20B 9 2 11 PANEL FUNCTIONS Panel functions allow...

Page 105: ...to LCD physical dimensions 2 lines per 16 columns Functions Function Description This functions shows a message on the PLAYER LCD display Arguments txtLine1 String corresponding to the text on the fir...

Page 106: ...roduction tolerances NEEC AUDIO BARCELONA S L reserves the right to make changes or improvements in the design or manufacturing that may affect these product specifications For technical queries conta...

Reviews: