Difference between revisions of "Configuration file"

From A-SMIL.org
Jump to: navigation, search
(Undo revision 464 by SMIL T.A. (talk))
(Replaced content with "The information in this page is out-dated, please refer to http://www.a-smil.org/index.php/Device_configuration")
 
Line 1: Line 1:
A configuration file is used with the [[device configuration]] maintenance job to update the settings of a player. It can also be applied using the USB stick as a file named "config.xml" placed in the root directory.
+
The information in this page is out-dated, please refer to http://www.a-smil.org/index.php/Device_configuration
 
 
It is an XML file in the following format.
 
 
 
If the player is password protected, <tt>security</tt> section is required to authenticate the user. The password is set from the media player's configuration menu.<br>
 
If the player is not password protected, whole <tt>security</tt> section can be ignored.
 
The configuration file only need to contains the parameter that need to be changed, it it not required to include all parameters.
 
 
 
<source lang="xml">
 
<configuration xmlns="http://schemas.adfotain.org/config-1.0">
 
  <security>
 
    <user>admin</user>
 
    <password>your_pwd</password>
 
  </security>
 
  <userPref>
 
    <prop name="info.playerName" value="string"/>
 
 
 
    <prop name="net.proxy.type" value="HTTP|HTTP_1_0|SOCKS4|SOCKS5"/>
 
    <prop name="net.proxy.host" value="ip,domain-name"/>
 
    <prop name="net.proxy.port" value="integer"/>
 
    <prop name="net.proxy.user" value="string"/>
 
    <prop name="net.proxy.password" value="string"/>
 
 
 
    <prop name="net.wifi.ssid" value="string"/>
 
    <prop name="net.wifi.authentication" value="WEPAUTO|WPAPSK|WPA2PSK|OPEN"/>
 
    <prop name="net.wifi.encryption" value="WEP|TKIP|AES|NONE"/>
 
    <prop name="net.wifi.password" value="string"/>
 
 
 
    <prop name="net.ethernet.dhcp.enabled" value="true|false"/>
 
    <prop name="net.ethernet.dhcp.vendorClass" value="string"/>
 
    <prop name="net.ethernet.ip" value="ip"/>
 
    <prop name="net.ethernet.netmask" value="ip"/>
 
    <prop name="net.ethernet.gateway" value="ip"/>
 
    <prop name="net.ethernet.domain" value="domain-name"/>
 
    <prop name="net.ethernet.dnsServers" value="list-of{ip}"/>
 
 
 
    <prop name="time.tzDescription" value="string"/>
 
    <prop name="time.tzCode" value="posix-rule (http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html)"/>
 
    <prop name="time.autoUpdate.protocol" value="content|rdate|http"/>
 
    <prop name="time.autoUpdate.server" value="ip,domain-name,uri"/>
 
 
 
    <prop name="display.format" value=""/>
 
      <!-- auto,
 
          VESA_640x480x60, VESA_800x600x60, VESA_1024x768x60, VESA_1280x1024x60, VESA_1600x1200x60,
 
          VESA_1360x768x60, VESA_1366x768x60, VESA_1440x900x60, VESA_1680x1050x60, VESA_1920x1200x60,
 
          CEA_640x480x60, CEA_720p50, CEA_720p60, CEA_1080i50, CEA_1080i60, CEA_1080p50, CEA_1080p60,
 
          NTSC_M, NTSC_M_Japan, PAL_BG, PAL_M, PAL_N, PAL_Nc
 
      -->
 
    <prop name="display.brightness" value="0-100%"/>
 
    <prop name="audio.soundLevel" value="mute,{min}-{max}db,0-{max}%"/>
 
 
 
    <prop name="content.bootFromServer" value="true|false"/>
 
    <prop name="content.serverUrl" value="server-uri"/>
 
 
 
    <prop name="task.scheduledReboot.days"
 
      value="list-of{Sunday,Sun,Monday,Mon,Tuesday,Tue,Wednesday,Wed,Thursday,Thu,Friday,Fri,Saturday,Sat}"/>
 
    <prop name="task.scheduledReboot.time" value="HH:MM in 24-hr format"/>
 
 
 
  </userPref>
 
</configuration>
 
 
 
</source>
 

Latest revision as of 19:48, 12 March 2015

The information in this page is out-dated, please refer to http://www.a-smil.org/index.php/Device_configuration