<?xml version="1.0" encoding="iso-8859-1"?>
<customization>
  <registry>

    <!-- The following section covers the handling of master reset settings and master reset all -->
    <!-- *************************************************************************************** -->

    <!-- Do the following only at Master reset all -->
    <master-reset-all parse-mask="a">
      <!-- Clear all FTM keys -->
      <reg-op op="delete" reg-path="/apps/download"/>
    </master-reset-all>

    <!-- Do the following only at Master reset settings -->
    <master-reset-settings parse-mask="s">
      <!-- Clear all FTM keys -->
      <reg-op op="delete" reg-path="/apps/download"/>
    </master-reset-settings>

    <download>
      <settings reg-path="/apps/download">
        
        <!--  The maximum number of parallel downloads done by the DUA, if more downloads are requested they will be queued  -->
        <!--  Type: unsigned int  -->
        <!--  Customizable: No, GUI: No  -->
        <max-parallel-downloads type="uint">3</max-parallel-downloads>

        <!--  The maximum number of critical downloads the download user agent can run in parallel. -->
        <!--  The critical slots are dedicated to downloads that a client to DUA or Download User Agent rank as more important than normal downloads. -->
        <!--  A critical download can be a web feed the user wants to update and shall not be blocked due to a music download running in the background. -->
        <!--  The number of critical slots cannot be larger than the number of parallel slots. -->
        <!--  Type: unsigned int  -->
        <!--  Customizable: No, GUI: No  -->
        <max-critical-downloads type="uint">1</max-critical-downloads>
        
        <!--  The maximum number of download attemts that are done of a user-requested download. -->
        <!--  When this number has been reached the download will fail. -->
        <!--  Type: unsigned int  -->
        <!--  Customizable: No, GUI: No  -->
        <max-download-attempts type="uint">6</max-download-attempts>
        
        <!--  The behavior of playing progressive content if no behaviour is set in the download descriptor. -->
        <!--  Type: unsigned int  -->
        <!--    0 = Never play progressive -->
        <!--    1 = Ask user play progressive -->
        <!--    2 = Always play progressive -->
        <!--  Customizable: No, GUI: No  -->
        <progressive-start-behaviour type="uint">2</progressive-start-behaviour>
      </settings>
    </download>
  </registry>
</customization>
