<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings version="1">
    <section id="plugin.video.oneplayvip">
        <category id="config" label="30000" help="">
            <group id="access" label="30002">
                <setting id="username" type="string" label="30010" help="">
                    <level>0</level>
                    <default/>
                    <constraints><allowempty>true</allowempty></constraints>
                    <control type="edit" format="string"><heading>30010</heading></control>
                </setting>
                <setting id="password" type="string" label="30011" help="">
                    <level>0</level>
                    <default/>
                    <constraints><allowempty>true</allowempty></constraints>
                    <control type="edit" format="string"><heading>30011</heading><hidden>true</hidden></control>
                </setting>
                <setting id="server_choice" type="integer" label="30012" help="">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30013">0</option>
                            <option label="30014">1</option>
                            <option label="30015">2</option>
                            <option label="30016">3</option>
                            <option label="30017">4</option>
                            <option label="30018">5</option>
                            <option label="30019">6</option>
                            <option label="30050">7</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
            </group>
            <group id="content" label="30003">
                <setting id="enable_epg" type="boolean" label="30020" help="">
                    <level>0</level><default>false</default><control type="toggle"/>
                </setting>
                <setting id="enable_adult" type="boolean" label="30021" help="">
                    <level>0</level><default>false</default><control type="toggle"/>
                </setting>
                <setting id="change_adult_pin_action" type="action" label="30022" help="">
                    <level>0</level>
                    <dependencies><dependency type="visible" setting="enable_adult">true</dependency></dependencies>
                    <data>RunPlugin(plugin://$ID/?mode=change_adult_pin&amp;source=settings_action)</data>
                    <control type="button" format="action"/>
                </setting>
                <setting id="adult_pin" type="string" label="30023" help="">
                    <level>4</level><default>0000</default><visible>false</visible>
                    <constraints><allowempty>true</allowempty></constraints>
                    <control type="edit" format="string"><heading>30023</heading><hidden>true</hidden></control>
                </setting>
                <setting id="adult_pin_hash" type="string" label="30024" help="">
                    <level>4</level><default/><visible>false</visible>
                    <constraints><allowempty>true</allowempty></constraints>
                    <control type="edit" format="string"><heading>30024</heading><hidden>true</hidden></control>
                </setting>
                <setting id="expire_warning_days" type="integer" label="30025" help="">
                    <level>1</level><default>3</default>
                    <constraints>
                        <options>
                            <option label="30026">0</option>
                            <option label="30027">1</option>
                            <option label="30028">2</option>
                            <option label="30029">3</option>
                            <option label="30030">4</option>
                            <option label="30031">5</option>
                            <option label="30032">6</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
            </group>
            <group id="vip_download" label="30004">
                <setting id="download_apk_action" type="action" label="30033" help="">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/?mode=download_apk&amp;source=settings_action)</data>
                    <control type="button" format="action"/>
                </setting>
            </group>
        </category>
        <category id="dns_proxy" label="30001" help="">
            <group id="dns" label="30005">
                <setting id="enable_custom_dns" type="boolean" label="30034" help="">
                    <level>1</level><default>false</default><control type="toggle"/>
                </setting>
            </group>
            <group id="shared_resilience" label="30006">
                <setting id="proxy_mode" type="integer" label="30035" help="">
                    <level>0</level><default>2</default>
                    <constraints>
                        <options>
                            <option label="30036">0</option>
                            <option label="30037">1</option>
                            <option label="30038">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="proxy_xtream_hardening" type="boolean" label="30039" help="">
                    <level>0</level><default>true</default><control type="toggle"/>
                </setting>
            </group>
            <group id="vod_proxy" label="30007">
                <setting id="proxy_vod_enabled" type="boolean" label="30040" help="">
                    <level>0</level><default>false</default><control type="toggle"/>
                </setting>
            </group>
            <group id="live_proxy" label="30008">
                <setting id="proxy_live_enabled" type="boolean" label="30041" help="">
                    <level>0</level><default>false</default><control type="toggle"/>
                </setting>
                <setting id="proxy_live_open_mode" type="integer" label="30042" help="">
                    <level>1</level><default>0</default>
                    <constraints>
                        <options>
                            <option label="30043">0</option>
                            <option label="30044">1</option>
                            <option label="30045">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="proxy_live_format" type="integer" label="30046" help="">
                    <level>4</level><default>0</default><visible>false</visible>
                    <constraints><options><option label="30044">0</option><option label="30045">1</option></options></constraints>
                    <control type="spinner" format="string"/>
                </setting>
            </group>
            <group id="proxy_advanced" label="30009">
                <setting id="proxy_host_memory" type="boolean" label="30047" help="">
                    <level>2</level><default>false</default><control type="toggle"/>
                </setting>
                <setting id="proxy_debug" type="boolean" label="30048" help="">
                    <level>3</level><default>false</default><control type="toggle"/>
                </setting>
                <setting id="proxy_defaults_v030_applied" type="boolean" label="30049" help="">
                    <level>4</level><default>false</default><visible>false</visible><control type="toggle"/>
                </setting>
                <!-- Compatibilidade com builds anteriores: evita consulta a ID ausente e não afeta o usuário. -->
                <setting id="proxy_defaults_v331_applied" type="boolean" label="30049" help="">
                    <level>4</level><default>true</default><visible>false</visible><control type="toggle"/>
                </setting>
            </group>
        </category>
    </section>
</settings>
