<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings version="1">
    <section id="plugin.video.netflix">
        <!--CATEGORY: General-->
        <category id="general" label="30031" help="">
            <!--GROUP: Support-->
            <group id="1" label="30734">
                <setting id="show_support_info" type="action" label="30735">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/show_support_info/?ignore_login=True)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
            </group>
            <!--GROUP: Account-->
            <group id="2" label="30014">
                <setting id="logout" type="action" label="30017">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/logout/?ignore_login=True)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
                <setting id="profile_options_info" type="action" label="30012">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/profile_options/?ignore_login=True)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
            </group>
            <!--GROUP: Other options-->
            <group id="3" label="30015">
                <setting id="ProgressManager_enabled" type="boolean" label="30235" help=""><!--DEPRECATED: kept only for add-on upgrade purpose-->
                    <level>0</level>
                    <default>false</default>
                    <visible>false</visible>
                    <control type="toggle"/>
                </setting>
                <setting id="sync_watched_status" type="boolean" label="30235" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="sync_watched_status_library" type="boolean" label="30301" help="" parent="sync_watched_status">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="sync_watched_status">true</dependency>
                    </dependencies>
                </setting>
                <setting id="select_first_unwatched" type="boolean" label="30243" help="" parent="sync_watched_status">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="sync_watched_status">true</dependency>
                    </dependencies>
                </setting>
                <setting id="marks_tvshow_started" type="boolean" label="30701" help="30702">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="mylist_titles_color" type="integer" label="30215" help="">
                    <level>0</level>
                    <default>1</default>
                    <constraints>
                        <options>
                            <option label="13106">0</option>
                            <option label="762">1</option>
                            <option label="13343">2</option>
                            <option label="13341">3</option>
                            <option label="761">4</option>
                            <option label="760">5</option>
                            <option label="731">6</option>
                            <option label="767">7</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="rememberme_titles_color" type="integer" label="30216" help="">
                    <level>0</level>
                    <default>1</default>
                    <constraints>
                        <options>
                            <option label="13106">0</option>
                            <option label="762">1</option>
                            <option label="13343">2</option>
                            <option label="13341">3</option>
                            <option label="761">4</option>
                            <option label="760">5</option>
                            <option label="731">6</option>
                            <option label="767">7</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="supplemental_info_color" type="integer" label="30239" help="">
                    <level>0</level>
                    <default>3</default>
                    <constraints>
                        <options>
                            <option label="13106">0</option>
                            <option label="762">1</option>
                            <option label="13343">2</option>
                            <option label="13341">3</option>
                            <option label="761">4</option>
                            <option label="760">5</option>
                            <option label="731">6</option>
                            <option label="767">7</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
            </group>
        </category>
        <!--CATEGORY: Library-->
        <category id="library" label="30025" help="">
            <!--GROUP: Library-->
            <group id="1" label="30049">
                <setting id="lib_enabled" type="boolean" label="30050" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="lib_add_sources" type="action" label="30728">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/add_folders_to_library/?ignore_login=True)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="lib_enabled">true</dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: Video library update-->
            <group id="2" label="30065">
                <setting id="lib_auto_upd_mode" type="integer" label="30224" help="30730">
                    <level>0</level>
                    <default>1</default>
                    <constraints>
                        <options>
                            <option label="30229">0</option>
                            <option label="30225">1</option>
                            <option label="30226">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="enable" setting="lib_enabled">true</dependency>
                    </dependencies>
                </setting>
                <setting id="lib_auto_upd_check_now" type="action" label="30230" parent="lib_auto_upd_mode">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/auto_upd_run_now/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="visible" operator="gt" setting="lib_auto_upd_mode">0</dependency>
                    </dependencies>
                </setting>
                <setting id="lib_auto_upd_freq" type="integer" label="30064" help="" parent="lib_auto_upd_mode">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30067">0</option>
                            <option label="30068">1</option>
                            <option label="30069">2</option>
                            <option label="30070">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" operator="gt" setting="lib_auto_upd_mode">1</dependency>
                    </dependencies>
                </setting>
                <setting id="lib_auto_upd_start" type="time" label="30071" help="" parent="lib_auto_upd_mode">
                    <level>0</level>
                    <default>00:00</default>
                    <control type="button" format="time">
                        <heading>30071</heading>
                    </control>
                    <dependencies>
                        <dependency type="visible" operator="gt" setting="lib_auto_upd_mode">1</dependency>
                    </dependencies>
                </setting>
                <setting id="lib_auto_upd_wait_idle" type="boolean" label="30072" help="" parent="lib_auto_upd_mode">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <or>
                                <condition setting="lib_auto_upd_mode">0</condition>
                                <condition setting="lib_auto_upd_mode">2</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="lib_auto_upd_disable_notification" type="boolean" label="30219" help="" parent="lib_auto_upd_mode">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <or>
                                <condition setting="lib_auto_upd_mode">0</condition>
                                <condition setting="lib_auto_upd_mode">2</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="lib_sync_mylist" type="boolean" label="30227" help="30731">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="enable" setting="lib_enabled">true</dependency>
                        <dependency type="visible">
                            <or>
                                <condition setting="lib_auto_upd_mode">0</condition>
                                <condition setting="lib_auto_upd_mode">2</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="lib_sync_mylist_sel_profile" type="action" label="30228" parent="lib_sync_mylist">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/sync_mylist_sel_profile/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="lib_sync_mylist">true</dependency>
                        <dependency type="visible">
                            <or>
                                <condition setting="lib_auto_upd_mode">0</condition>
                                <condition setting="lib_auto_upd_mode">2</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="lib_sync_mylist_now" type="action" label="30121" parent="lib_sync_mylist">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/sync_mylist/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="lib_sync_mylist">true</dependency>
                        <dependency type="visible">
                            <or>
                                <condition setting="lib_auto_upd_mode">0</condition>
                                <condition setting="lib_auto_upd_mode">2</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: NFO Files-->
            <group id="3" label="30184">
                <setting id="enable_nfo_export" type="boolean" label="30185" help="30732">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="export_movie_nfo" type="integer" label="30186" help="" parent="enable_nfo_export">
                    <level>0</level>
                    <default>1</default>
                    <constraints>
                        <options>
                            <option label="21337">0</option>
                            <option label="20422">1</option>
                            <option label="30188">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="enable_nfo_export">true</dependency>
                    </dependencies>
                </setting>
                <setting id="export_tvshow_nfo" type="integer" label="30187" help="" parent="enable_nfo_export">
                    <level>0</level>
                    <default>1</default>
                    <constraints>
                        <options>
                            <option label="21337">0</option>
                            <option label="20422">1</option>
                            <option label="30188">2</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="enable_nfo_export">true</dependency>
                    </dependencies>
                </setting>
                <setting id="export_full_tvshow_nfo" type="boolean" label="30193" help="30733">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="enable_nfo_export">true</dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: Other options-->
            <group id="4" label="30015">
                <setting id="enablelibraryfolder" type="boolean" label="30026" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="customlibraryfolder" type="path" label="30027" help="">
                    <level>0</level>
                    <default>special://profile/addon_data/plugin.video.netflix</default>
                    <constraints>
                        <writable>true</writable>
                        <allowempty>true</allowempty>
                    </constraints>
                    <control type="button" format="path">
                        <heading>30027</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="enablelibraryfolder">true</dependency>
                    </dependencies>
                </setting>
                <setting id="purge_library" type="action" label="30125">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/purge/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
                <setting id="import_library" type="action" label="30140">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/import_library/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
            </group>
            <!--GROUP: Shared library-->
            <group id="5" label="30199">
                <setting id="use_mysql" type="boolean" label="30200" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="mysql_username" type="string" label="30201" help="" parent="use_mysql">
                    <level>0</level>
                    <default>kodi</default>
                    <constraints>
                        <allowempty>true</allowempty>
                    </constraints>
                    <control type="edit" format="string">
                        <heading>30201</heading>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
                <setting id="mysql_password" type="string" label="30004" help="" parent="use_mysql">
                    <level>0</level>
                    <default>kodi</default>
                    <constraints>
                        <allowempty>true</allowempty>
                    </constraints>
                    <control type="edit" format="string">
                        <heading>30004</heading>
                        <hidden>true</hidden>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
                <setting id="mysql_host" type="string" label="30203" help="" parent="use_mysql">
                    <level>0</level>
                    <default>127.0.0.1</default>
                    <constraints>
                        <allowempty>true</allowempty>
                    </constraints>
                    <control type="edit" format="ip">
                        <heading>30203</heading>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
                <setting id="mysql_port" type="integer" label="30204" help="" parent="use_mysql">
                    <level>0</level>
                    <default>3306</default>
                    <control type="edit" format="integer">
                        <heading>30204</heading>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
                <setting id="mysql_device_auto_update" type="action" label="30207" parent="use_mysql">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/set_autoupdate_device/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
                <setting id="mysql_check_auto_update_device" type="action" label="30208" parent="use_mysql">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/library/check_autoupdate_device/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                    <dependencies>
                        <dependency type="visible" setting="use_mysql">true</dependency>
                    </dependencies>
                </setting>
            </group>
        </category>
        <!--CATEGORY: Main menu items-->
        <category id="main.menu.items" label="30166" help="">
            <!--GROUP: Main menu items-->
            <group id="1" label="30166">
                <setting id="show_menu_mylist" type="boolean" label="30167" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <!-- Sort order for My List is supported only to US country-->
                <setting id="menu_sortorder_mylist" type="integer" label="30149" help="" parent="show_menu_mylist">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="13106">1</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_mylist">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_continuewatching" type="boolean" label="30168" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_newandpopular" type="boolean" label="30700" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_chosenforyou" type="boolean" label="30169" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_recentlyadded" type="boolean" label="30145" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_recentlyadded" type="integer" label="30149" help="" parent="show_menu_recentlyadded">
                    <level>0</level>
                    <default>2</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_recentlyadded">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_newrelease" type="boolean" label="30170" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_newrelease" type="integer" label="30149" help="" parent="show_menu_newrelease">
                    <level>0</level>
                    <default>2</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_newrelease">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_currenttitles" type="boolean" label="30171" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_mostviewed" type="boolean" label="30172" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_netflixoriginals" type="boolean" label="30173" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_netflixoriginals" type="integer" label="30149" help="" parent="show_menu_netflixoriginals">
                    <level>0</level>
                    <default>2</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_netflixoriginals">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_assistiveaudio" type="boolean" label="30163" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_assistiveaudio" type="integer" label="30149" help="" parent="show_menu_assistiveaudio">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_assistiveaudio">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_recommendations" type="boolean" label="30001" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_menu_tvshowsgenres" type="boolean" label="30174" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_tvshowsgenres" type="integer" label="30149" help="" parent="show_menu_tvshowsgenres">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_tvshowsgenres">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_moviesgenres" type="boolean" label="30175" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_moviesgenres" type="integer" label="30149" help="" parent="show_menu_moviesgenres">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_moviesgenres">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_tvshows" type="boolean" label="30095" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_tvshows" type="integer" label="30149" help="" parent="show_menu_tvshows">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_tvshows">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_movies" type="boolean" label="30096" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_movies" type="integer" label="30149" help="" parent="show_menu_movies">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_movies">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_genres" type="boolean" label="30010" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_genres" type="integer" label="30149" help="" parent="show_menu_genres">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_genres">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_search" type="boolean" label="30400" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="menu_sortorder_search" type="integer" label="30149" help="" parent="show_menu_search">
                    <level>0</level>
                    <default>2</default>
                    <constraints>
                        <options>
                            <option label="30150">0</option>
                            <option label="30151">1</option>
                            <option label="30152">2</option>
                            <option label="30153">3</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_search">true</dependency>
                    </dependencies>
                </setting>
                <setting id="menu_sortorder_search_history" type="integer" label="30399" help="" parent="show_menu_search">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <options>
                            <option label="30162">0</option>
                            <option label="30150">1</option>
                        </options>
                    </constraints>
                    <control type="spinner" format="string"/>
                    <dependencies>
                        <dependency type="visible" setting="show_menu_search">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_menu_exported" type="boolean" label="30048" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
            </group>
        </category>
        <!--CATEGORY: Skin viewtypes-->
        <category id="skin.viewtypes" label="30037" help="">
            <!--GROUP: Skin viewtypes-->
            <group id="1" label="30037">
                <setting id="customview" type="boolean" label="30038" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="viewmodeprofilesid" type="integer" label="30044" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30044</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodemainmenuid" type="integer" label="30159" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30159</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodemylistid" type="integer" label="30165" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30165</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodefolderid" type="integer" label="30039" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30039</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodemovieid" type="integer" label="30040" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30040</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodeshowid" type="integer" label="30041" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30041</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodeseasonid" type="integer" label="30042" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30042</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodeepisodeid" type="integer" label="30043" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30043</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodesearchid" type="integer" label="30160" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30160</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
                <setting id="viewmodeexportedid" type="integer" label="30161" help="" parent="customview">
                    <level>0</level>
                    <default>0</default>
                    <control type="edit" format="integer">
                        <heading>30161</heading>
                    </control>
                    <dependencies>
                        <dependency type="enable" setting="customview">true</dependency>
                    </dependencies>
                </setting>
            </group>
        </category>
        <!--CATEGORY: Playback-->
        <category id="playback" label="30078" help="">
            <!--GROUP: Playback-->
            <group id="1" label="30078">
                <setting id="StreamContinuityManager_enabled" type="boolean" label="30082" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_forced_subtitles_only" type="boolean" label="30083" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="show_subtitles_miss_audio" type="boolean" label="30181" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="prefer_alternative_lang" type="boolean" label="30500" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="prefer_audio_stereo" type="boolean" label="30501" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="SectionSkipper_enabled" type="boolean" label="30075" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="auto_skip_credits" type="boolean" label="30079" help="" parent="SectionSkipper_enabled">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="SectionSkipper_enabled">true</dependency>
                    </dependencies>
                </setting>
                <setting id="pause_on_skip" type="boolean" label="30080" help="" parent="auto_skip_credits">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="auto_skip_credits">true</dependency>
                    </dependencies>
                </setting>
                <setting id="blackbars_minimizer_mode" type="string" label="30746" help="30722">
                  <level>0</level>
                  <default>disabled</default>
                  <constraints>
                    <options>
                      <option label="13106">disabled</option>
                      <option label="30747">fixed</option>
                      <option label="30748">relative</option>
                      <option label="30749">reset</option>
                    </options>
                  </constraints>
                  <dependencies> <!-- Feature available on Kodi v20 or above -->
                      <dependency type="visible">
                          <or>
                              <condition on="property" operator="is" name="InfoBool">String.StartsWith(System.BuildVersionCode,19.9)</condition> <!-- v20 pre-releases -->
                              <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                          </or>
                      </dependency>
                  </dependencies>
                  <control type="spinner" format="string" />
                </setting>
                <setting id="blackbars_minimizer_value" type="integer" label="30721" help="30724" parent="blackbars_minimizer_mode">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                        <minimum>0</minimum>
                        <step>1</step>
                        <maximum>50</maximum>
                    </constraints>
                    <dependencies>
                        <dependency type="visible">
                          <or>
                              <condition setting="blackbars_minimizer_mode">fixed</condition>
                              <condition setting="blackbars_minimizer_mode">relative</condition>
                          </or>
                        </dependency>
                    </dependencies>
                    <control type="slider" format="percentage"/>
                </setting>
                <setting id="audio_offset_enabled" type="boolean" label="30738" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible"> <!-- Available from Kodi v20 final -->
                            <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="audio_offset" type="number" label="30739" help="30740" parent="audio_offset_enabled">
                    <level>0</level>
                    <default>0</default>
                    <constraints>
                      <minimum>-10</minimum>
                      <step>0.025</step>
                      <maximum>10</maximum>
                    </constraints>
                    <control type="slider" format="percentage">
                      <format>{:.3f}s</format>
                    </control>
                    <dependencies>
                        <dependency type="visible"> <!-- Available from Kodi v20 final -->
                            <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                        </dependency>
                        <dependency type="visible" setting="audio_offset_enabled">true</dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: Library-->
            <group id="2" label="30049">
                <setting id="ResumeManager_enabled" type="boolean" label="30176" help=""><!-- Needed only to Kodi v19 -->
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <and>
                                <condition on="property" operator="!is" name="InfoBool">String.StartsWith(System.BuildVersionCode,19.9)</condition> <!-- v20 pre-releases -->
                                <condition on="property" operator="!is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                            </and>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="ResumeManager_dialog" type="boolean" label="30177" help="" parent="ResumeManager_enabled">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <and>
                                <condition on="property" operator="!is" name="InfoBool">String.StartsWith(System.BuildVersionCode,19.9)</condition> <!-- v20 pre-releases -->
                                <condition on="property" operator="!is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                            </and>
                        </dependency>
                        <dependency type="enable" setting="ResumeManager_enabled">true</dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: Up Next-->
            <group id="3" label="30238">
                <setting id="upnext_install" type="action" label="30130">
                    <level>0</level>
                    <data>InstallAddon(service.upnext)</data>
                    <dependencies>
                        <dependency type="visible">
                            <condition on="property" operator="!is" name="InfoBool">System.HasAddon(service.upnext)</condition>
                        </dependency>
                    </dependencies>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
                <setting id="UpNextNotifier_enabled" type="boolean" label="30129" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <condition on="property" name="InfoBool">System.HasAddon(service.upnext)</condition>
                        </dependency>
                        <dependency type="enable">
                            <condition on="property" name="InfoBool">System.AddonIsEnabled(service.upnext)</condition>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="upnext_settings" type="action" label="30178">
                    <level>0</level>
                    <data>Addon.OpenSettings(service.upnext)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                    <dependencies>
                        <dependency type="visible">
                            <condition on="property" name="InfoBool">System.HasAddon(service.upnext)</condition>
                        </dependency>
                        <dependency type="enable">
                            <condition on="property" name="InfoBool">System.AddonIsEnabled(service.upnext)</condition>
                        </dependency>
                    </dependencies>
                </setting>
            </group>
        </category>
        <!--CATEGORY: Expert-->
        <category id="expert" label="30023" help="">
            <!--GROUP: Expert-->
            <group id="1" label="30023">
                <setting id="configuration_wizard" type="action" label="30158">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/configuration_wizard/)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
                <setting id="isa_settings" type="action" label="30035">
                    <level>0</level>
                    <data>Addon.OpenSettings(inputstream.adaptive)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
                <setting id="ish_settings" type="action" label="30213">
                    <level>0</level>
                    <data>Addon.OpenSettings(script.module.inputstreamhelper)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
            </group>
            <!--GROUP: Codecs-->
            <group id="2" label="30032">
                <setting id="enable_dolby_sound" type="boolean" label="30033" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="enable_vp9_profiles" type="boolean" label="30137" help="30745">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="enable_vp9.2_profiles" type="boolean" label="30741" help="30745" parent="enable_vp9_profiles">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies> <!-- Feature available on Kodi v21 or above -->
                        <dependency type="visible">
                            <and>
                                <or>
                                    <condition on="property" operator="is" name="InfoBool">String.StartsWith(System.BuildVersionCode,20.9)</condition>
                                    <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,21)</condition>
                                </or>
                                <condition setting="enable_vp9_profiles">true</condition>
                            </and>
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="enable_hevc_profiles" type="boolean" label="30060" help="30745">
                    <dependencies>
                        <dependency type="visible">
                            <condition on="property" name="InfoBool">system.platform.android</condition>
                        </dependency>
                    </dependencies>
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="enable_hdr_profiles" type="boolean" label="30098" help="" parent="enable_hevc_profiles">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <condition setting="enable_hevc_profiles">true</condition>
                            <condition on="property" name="ishdrdisplay" />
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="enable_dolbyvision_profiles" type="boolean" label="30099" help="" parent="enable_hevc_profiles">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible">
                            <condition setting="enable_hevc_profiles">true</condition>
                            <condition on="property" name="ishdrdisplay" /> <!-- when Kodi v19 will be not supported anymore this can be improved by using System.SupportedHDRTypes -->
                        </dependency>
                    </dependencies>
                </setting>
                <setting id="enable_av1_profiles" type="boolean" label="30727" help="30745">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies> <!-- Feature available on Kodi v21 or above -->
                        <dependency type="visible">
                            <or>
                                <condition on="property" operator="is" name="InfoBool">String.StartsWith(System.BuildVersionCode,20.9)</condition> <!-- v21 pre-releases -->
                                <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,21)</condition>
                            </or>
                        </dependency>
                    </dependencies>
                </setting>
            </group>
            <!--GROUP: Playback-->
            <group id="3" label="30078">
                <setting id="isa_streamselection_override" type="string" label="30703" help="30704">
                  <level>0</level>
                  <default>disabled</default>
                  <constraints>
                    <options>
                      <option label="13106">disabled</option>
                      <option label="30705">adaptive</option>
                      <option label="30706">fixed-res</option>
                      <option label="30707">ask-quality</option>
                    </options>
                  </constraints>
                  <dependencies> <!-- Feature available on Kodi v20 or above -->
                      <dependency type="visible">
                          <or>
                              <condition on="property" operator="is" name="InfoBool">String.StartsWith(System.BuildVersionCode,19.9)</condition> <!-- v20 pre-releases -->
                              <condition on="property" operator="is" name="InfoBool">Integer.IsGreaterOrEqual(System.BuildVersionCode,20)</condition>
                          </or>
                      </dependency>
                  </dependencies>
                  <control type="spinner" format="string" />
                </setting>
                <setting id="stream_max_resolution" type="string" label="30194" help="30720">
                    <level>0</level>
                    <default>--</default>
                    <constraints>
                        <options>
                            <option label="--">--</option>
                            <option label="SD 480p">SD 480p</option>
                            <option label="SD 576p">SD 576p</option>
                            <option label="HD 720p">HD 720p</option>
                            <option label="Full HD 1080p">Full HD 1080p</option>
                            <option label="UHD 4K">UHD 4K</option>
                        </options>
                        <allowempty>false</allowempty>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="stream_force_hdcp" type="string" label="30081" help="30744">
                    <level>0</level>
                    <default>--</default>
                    <constraints>
                        <options>
                            <option label="--">--</option>
                            <option label="HDCP 1.4">1.4</option>
                            <option label="HDCP 2.2">2.2</option>
                        </options>
                        <allowempty>false</allowempty>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="disable_webvtt_subtitle" type="boolean" label="30144" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
            </group>
            <!--GROUP: Advanced Addon Configuration-->
            <group id="4" label="30116">
                <setting id="show_esn_widevine_options" type="action" label="30600">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/show_esn_widevine_options/)</data>
                    <control type="button" format="action">
                        <close>true</close>
                    </control>
                </setting>
                <setting id="enable_debug" type="boolean" label="30066" help="">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                </setting>
                <setting id="enable_timing" type="boolean" label="30134" help="" parent="enable_debug">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="enable_debug">true</dependency>
                    </dependencies>
                </setting>
                <setting id="show_codec_info" type="boolean" label="30073" help="" parent="enable_debug">
                    <level>0</level>
                    <default>false</default>
                    <control type="toggle"/>
                    <dependencies>
                        <dependency type="visible" setting="enable_debug">true</dependency>
                    </dependencies>
                </setting>
                <setting id="msl_manifest_version" type="string" label="30612" help="">
                    <level>0</level>
                    <default>default</default>
                    <constraints>
                        <options>
                            <option label="Default">default</option>
                            <option label="Version 1">v1</option>
                        </options>
                        <allowempty>false</allowempty>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="cdn_server" type="string" label="30241" help="">
                    <level>0</level>
                    <default>Server 1</default>
                    <constraints>
                        <options>
                            <option label="Server 1">Server 1</option>
                            <option label="Server 2">Server 2</option>
                            <option label="Server 3">Server 3</option>
                        </options>
                        <allowempty>false</allowempty>
                    </constraints>
                    <control type="spinner" format="string"/>
                </setting>
                <setting id="enable_ipc_over_http" type="boolean" label="30139" help="">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
                <setting id="page_results" type="integer" label="30247" help="">
                    <level>0</level>
                    <default>90</default>
                    <constraints>
                        <minimum>45</minimum>
                        <step>45</step>
                        <maximum>180</maximum>
                    </constraints>
                    <control type="slider" format="integer">
                        <popup>false</popup>
                    </control>
                </setting>
                <setting id="credentials_system_encryption" type="boolean" label="30610" help="30611">
                    <level>0</level>
                    <default>true</default>
                    <control type="toggle"/>
                </setting>
            </group>
            <!--GROUP: Cache-->
            <group id="5" label="30117">
                <setting id="cache_ttl" type="integer" label="30084" help="">
                    <level>0</level>
                    <default>180</default>
                    <constraints>
                        <minimum>5</minimum>
                        <step>5</step>
                        <maximum>2880</maximum>
                    </constraints>
                    <control type="slider" format="integer">
                        <popup>false</popup>
                    </control>
                </setting>
                <setting id="cache_mylist_ttl" type="integer" label="30086" help="">
                    <level>0</level>
                    <default>60</default>
                    <constraints>
                        <minimum>10</minimum>
                        <step>10</step>
                        <maximum>1440</maximum>
                    </constraints>
                    <control type="slider" format="integer">
                        <popup>false</popup>
                    </control>
                </setting>
                <setting id="cache_metadata_ttl" type="integer" label="30085" help="">
                    <level>0</level>
                    <default>30</default>
                    <constraints>
                        <minimum>1</minimum>
                        <step>1</step>
                        <maximum>60</maximum>
                    </constraints>
                    <control type="slider" format="integer">
                        <popup>false</popup>
                    </control>
                </setting>
                <setting id="purge_inmemory_cache" type="action" label="30132">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/purge_cache/)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
                <setting id="purge_complete_cache" type="action" label="30133">
                    <level>0</level>
                    <data>RunPlugin(plugin://$ID/action/purge_cache/?on_disk=True)</data>
                    <control type="button" format="action">
                        <close>false</close>
                    </control>
                </setting>
            </group>
        </category>
    </section>
</settings>
