80
13.7.2
Example Script02:
Automatically play uSD cards when inserted
There are applications in which the local storage medium will change depending on the user. For
example, an activity room in a gym where, for each session, different instructors will change 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 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 USB device, by simply changing the trigger and the URL.
Figure 71
•
require "ePLAYER1"
•
ep = ePLAYER1.new()
•
ep.PLAYER_open{url="mmc://"}
Содержание PLAYER ONE
Страница 1: ...50 0418 0102 PLAYER ONE EN PLAYER ONE AUDIO PLAYER Local and Streaming Audio Player USER MANUAL ...
Страница 28: ...28 PLAYER ONE PLAYER ZERO Web GUI v1 00r0 AUDIO PLAYERS Streaming and local media audio player USER MANUAL ...
Страница 54: ...54 Figure 32 The action of loading and playing the specified stream is configured Figure 33 ...
Страница 59: ...59 Figure 41 Finally the message located on the USB device usb will be announced with priority Figure 42 ...
Страница 85: ...85 Figure 76 accessing the network configuration Figure 77 editing network parameters ...
Страница 90: ...90 Figure 83 editing WiFi password ...
Страница 93: ...93 Enter the password of the WiFi network you want to connect to and press the SUBMIT button Figure 86 ...
Страница 95: ...95 A wireless connection to your WiFi network will be established Figure 88 ...
Страница 112: ...112 In this example su hotels Figura 107 ...
Страница 114: ...114 Figura 109 Copy from here To here ...
Страница 118: ...118 THIRD PARTY CONTROL PROTOCOL PLAYER ONE JSON Commands USUER MANUAL ...
Страница 153: ...HOW TO IDENTIFY INTERNET RADIO URL STREAMS 153 ...