<?xml version="1.0" encoding="utf-8"?>
<config>
  <group human_label="Database Setup" unique_label="database">
    <setting setting_type="file" value="dbHostName" default_data="localhost"
             label="Host" data_type="string"
             placeholder_text="Enter database hostname or address"
             help_text="DNS name or IP address of the server hosting the
                        database. Use 'localhost' to connect to the server using
                        a Unix pipe." />
    <setting setting_type="file" value="dbPort" default_data="3306" label="Port"
             help_text="Connect to the database server on this port.  MySQL
                        uses '3306'."
             placeholder_text="Enter database port (usually 3306)."
             data_type="integer_range" range_min="0" range_max="65535" />
    <setting setting_type="file" value="dbPing" default_data="1" label="Ping"
             help_text="Ping the remote server to confirm that it's on the
                        network.  You may need to disable this setting if
                        you are blocking ICMP ping requests on the database
                        server but are sure that it's available." data_type="checkbox" />
    <setting setting_type="file" value="dbName" default_data="mythconverg"
             label="Database" data_type="string"
             placeholder_text="Enter MythTV database name (usually 'mythconverg')"
             help_text="Database containing MythTV tables." />
    <setting setting_type="file" value="dbUserName" default_data="mythtv"
             label="User" data_type="string"
             placeholder_text="Enter your database user name (usually 'mythtv')"
             help_text="Database user name which has read and write
                        privileges to MythTV tables." />
    <setting setting_type="file" value="dbPassword" default_data="mythtv"
             label="Password" data_type="string"
             placeholder_text="Enter database password"
             help_text="Password for database user." />
    <setting setting_type="file" value="dbHostID" default_data=""
             label="Host Identifier" data_type="string"
             help_text="Unique identifier for this host in the database." />
  </group>
  <group human_label="Database Wake on LAN" unique_label="database_wol">
      <setting setting_type="file" value="dbWOLEnabled" default_data="1"
               label="Enable Wake-On-LAN" data_type="checkbox"
               help_text="If enabled, MythTV will attempt to wake the
                          remote database host." />
      <setting setting_type="file" value="dbWOLReconnectCount" default_data="0"
               label="Reconnect Count"
               data_type="integer_range" range_min="0" range_max="10"
               help_text="How often to attempt reconnecting to the database." />
      <setting setting_type="file" value="dbWOLRetryCount" default_data="5"
               label="Retry Count"
               data_type="integer_range" range_min="0" range_max="10"
               help_text="How often to attempt to wake the remote
                          database host." />
      <setting setting_type="file" value="dbWOLCommand"
               default_data="echo 'WOLsqlServerCommand not set'"
               label="Command" data_type="string"
               placeholder_text="Enter Wake-On-LAN (WOL) command"
               help_text="Command to execute to wake the
                          remote database host." />
  </group>
</config>
