<?xml version="1.0" ?>
<settings version="1">
	<section id="driver.dvb.sundtek-mediatv">
		<category id="general" label="1000" help="">
			<group id="1">
				<setting id="SETTLE_TIME" type="integer" label="1014" help="">
					<level>0</level>
					<default>0</default>
					<control type="edit" format="integer">
						<heading>1014</heading>
					</control>
				</setting>
				<setting id="RUN_USER_SCRIPT" type="boolean" label="1015" help="">
					<level>0</level>
					<default>false</default>
					<control type="toggle"/>
				</setting>
				<setting id="ENABLE_HW_PID_FILTER" type="boolean" label="1030" help="">
					<level>0</level>
					<default>true</default>
					<control type="toggle"/>
				</setting>
				<setting id="ENABLE_IR_RECEIVER" type="boolean" label="1035" help="">
					<level>0</level>
					<default>false</default>
					<control type="toggle"/>
				</setting>
				<setting id="LOWEST_ADAPTER_NUM" type="integer" label="1040" help="">
					<level>0</level>
					<default>0</default>
					<control type="edit" format="integer">
						<heading>1040</heading>
					</control>
				</setting>
				<setting id="SUSPEND_DRIVER" type="boolean" label="1050" help="">
					<level>0</level>
					<default>true</default>
					<control type="toggle"/>
				</setting>
			</group>
		</category>
		<category id="networking" label="2000" help="">
			<group id="1">
				<setting id="ALLOW_NET_USE" type="boolean" label="2005" help="">
					<level>0</level>
					<default>false</default>
					<control type="toggle"/>
				</setting>
				<setting id="USE_NET_TUNERS" type="boolean" label="2010" help="">
					<level>0</level>
					<default>false</default>
					<control type="toggle"/>
				</setting>
				<setting id="DEVICE1_IP" type="string" label="2020" help="">
					<level>0</level>
					<default/>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="edit" format="ip">
						<heading>2020</heading>
					</control>
				</setting>
				<setting id="DEVICE1_NUM" type="string" label="2021" help="">
					<level>0</level>
					<default>1</default>
					<constraints>
						<options>
							<option label="1">1</option>
							<option label="5">5</option>
							<option label="4">4</option>
							<option label="3">3</option>
							<option label="2">2</option>
						</options>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="spinner" format="string"/>
				</setting>
				<setting id="DEVICE2_IP" type="string" label="2030" help="">
					<level>0</level>
					<default/>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="edit" format="ip">
						<heading>2030</heading>
					</control>
				</setting>
				<setting id="DEVICE2_NUM" type="string" label="2031" help="">
					<level>0</level>
					<default>1</default>
					<constraints>
						<options>
							<option label="1">1</option>
							<option label="5">5</option>
							<option label="4">4</option>
							<option label="3">3</option>
							<option label="2">2</option>
						</options>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="spinner" format="string"/>
				</setting>
				<setting id="DEVICE3_IP" type="string" label="2040" help="">
					<level>0</level>
					<default/>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="edit" format="ip">
						<heading>2040</heading>
					</control>
				</setting>
				<setting id="DEVICE3_NUM" type="string" label="2041" help="">
					<level>0</level>
					<default>1</default>
					<constraints>
						<options>
							<option label="1">1</option>
							<option label="5">5</option>
							<option label="4">4</option>
							<option label="3">3</option>
							<option label="2">2</option>
						</options>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="spinner" format="string"/>
				</setting>
				<setting id="DEVICE4_IP" type="string" label="2050" help="">
					<level>0</level>
					<default/>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="edit" format="ip">
						<heading>2050</heading>
					</control>
				</setting>
				<setting id="DEVICE4_NUM" type="string" label="2051" help="">
					<level>0</level>
					<default>1</default>
					<constraints>
						<options>
							<option label="1">1</option>
							<option label="5">5</option>
							<option label="4">4</option>
							<option label="3">3</option>
							<option label="2">2</option>
						</options>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="spinner" format="string"/>
				</setting>
				<setting id="DEVICE5_IP" type="string" label="2060" help="">
					<level>0</level>
					<default/>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="edit" format="ip">
						<heading>2060</heading>
					</control>
				</setting>
				<setting id="DEVICE5_NUM" type="string" label="2061" help="">
					<level>0</level>
					<default>1</default>
					<constraints>
						<options>
							<option label="1">1</option>
							<option label="5">5</option>
							<option label="4">4</option>
							<option label="3">3</option>
							<option label="2">2</option>
						</options>
					</constraints>
					<dependencies>
						<dependency type="visible">
							<condition operator="is" setting="USE_NET_TUNERS">true</condition>
						</dependency>
					</dependencies>
					<control type="spinner" format="string"/>
				</setting>
			</group>
		</category>
		<category id="tuner settings" label="9000" help="">
			<group id="1">
				<setting id="ENABLE_TUNER_TYPES" type="boolean" label="9005" help="">
					<level>0</level>
					<default>true</default>
					<control type="toggle"/>
				</setting>
				<setting id="refresh_tuners" type="action" label="9010" help="">
					<level>0</level>
					<data>RunScript(/storage/.kodi/addons/driver.dvb.sundtek-mediatv//resources/actions.py, refresh_tuners)</data>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<control type="button" format="action">
						<close>true</close>
					</control>
				</setting>
			</group>
		</category>
		<category id="driver" label="3000" help="">
			<group id="1">
				<setting id="BUILD_DATE" type="integer" label="3005" help="">
					<level>0</level>
					<default>0</default>
					<constraints>
						<options>
							<option label="Build date: 2025-12-20 00:53:08">0</option>
						</options>
					</constraints>
					<control type="spinner" format="string"/>
				</setting>
				<setting id="CHECK_BOOT" type="boolean" label="3020" help="">
					<level>0</level>
					<default>false</default>
					<control type="toggle"/>
				</setting>
				<setting id="update_driver" type="action" label="3010" help="">
					<level>0</level>
					<data>RunScript(/storage/.kodi/addons/driver.dvb.sundtek-mediatv//resources/actions.py, update_driver)</data>
					<constraints>
						<allowempty>true</allowempty>
					</constraints>
					<control type="button" format="action">
						<close>true</close>
					</control>
				</setting>
			</group>
		</category>
	</section>
</settings>
