2010-08-23 11:21:56 -07:00
|
|
|
<window type="window" id="14004">
|
|
|
|
<defaultcontrol always="true">1030</defaultcontrol>
|
|
|
|
<allowoverlay>yes</allowoverlay>
|
|
|
|
<onload lang="python"><![CDATA[
|
|
|
|
import mc
|
|
|
|
import mythboxee
|
2010-08-31 18:26:40 -07:00
|
|
|
|
|
|
|
mb.SettingsInit()
|
2010-08-23 11:21:56 -07:00
|
|
|
]]></onload>
|
|
|
|
<controls>
|
|
|
|
<control type="group" id="1010">
|
|
|
|
<control type="image" id="1011">
|
|
|
|
<width>1280</width>
|
|
|
|
<height>720</height>
|
|
|
|
<texture>mb_bg_settings.png</texture>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<!-- START: BACKEND INFORMATION -->
|
|
|
|
|
|
|
|
<control type="group" id="1040">
|
|
|
|
<control type="label" id="1041">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>60</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>250</width>
|
|
|
|
<label>Backend Information</label>
|
|
|
|
<font>font23</font>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1042">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>85</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<label>Hostname/IP:</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<ondown>1043</ondown>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1043">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>115</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<label>Username:</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1042</onup>
|
|
|
|
<ondown>1044</ondown>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1044">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>145</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<align>left</align>
|
|
|
|
<label>Password:</label>
|
|
|
|
<password>true</password>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1043</onup>
|
2010-08-31 18:26:40 -07:00
|
|
|
<ondown>1045</ondown>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1045">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>175</posy>
|
2010-08-31 18:26:40 -07:00
|
|
|
<width>300</width>
|
|
|
|
<align>left</align>
|
|
|
|
<label>Database:</label>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1044</onup>
|
|
|
|
<ondown>1047</ondown>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<control type="grouplist" id="1046">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>210</posy>
|
2010-08-31 18:26:40 -07:00
|
|
|
<width>300</width>
|
|
|
|
<itemgap>0</itemgap>
|
|
|
|
<orientation>horizontal</orientation>
|
2010-09-05 21:47:01 -07:00
|
|
|
<ondown>1052</ondown>
|
2010-08-31 18:26:40 -07:00
|
|
|
<control type="button" id="1047">
|
|
|
|
<label>Test Connection</label>
|
|
|
|
<texturefocus>bg_btn.png</texturefocus>
|
|
|
|
<texturenofocus></texturenofocus>
|
|
|
|
<font>font14</font>
|
|
|
|
<height>30</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<onclick lang="python"><![CDATA[mb.TestDbSettings()]]></onclick>
|
|
|
|
</control>
|
|
|
|
<control type="button" id="1048">
|
|
|
|
<label>Save DB Settings</label>
|
|
|
|
<texturefocus>bg_btn.png</texturefocus>
|
|
|
|
<texturenofocus></texturenofocus>
|
|
|
|
<font>font14</font>
|
|
|
|
<height>30</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<onclick lang="python"><![CDATA[mb.SaveDbSettings()]]></onclick>
|
2010-08-23 11:21:56 -07:00
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<!-- END: BACKEND INFORMATION -->
|
|
|
|
|
2010-09-05 21:47:01 -07:00
|
|
|
<!-- START: CACHE SETTINGS -->
|
|
|
|
|
|
|
|
<control type="group" id="1050">
|
|
|
|
<control type="label" id="1051">
|
|
|
|
<posx>820</posx>
|
|
|
|
<posy>260</posy>
|
|
|
|
<width>250</width>
|
|
|
|
<align>left</align>
|
|
|
|
<label>Cache Settings</label>
|
|
|
|
<font>font23</font>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1052">
|
|
|
|
<posx>820</posx>
|
|
|
|
<posy>295</posy>
|
|
|
|
<width>300</width>
|
|
|
|
<label>Cache Length (min):</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1045</onup>
|
|
|
|
<ondown>1022</ondown>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<!-- END: CACHE SETTINGS -->
|
|
|
|
|
2010-08-23 11:21:56 -07:00
|
|
|
<!-- START: STREAM METHOD -->
|
|
|
|
|
|
|
|
<control type="group" id="1020">
|
|
|
|
<control type="label" id="1021">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>460</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>250</width>
|
|
|
|
<align>left</align>
|
|
|
|
<label>Stream Method</label>
|
|
|
|
<font>font23</font>
|
|
|
|
</control>
|
|
|
|
<control type="list" id="1022">
|
|
|
|
<posx>830</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>495</posy>
|
|
|
|
<width>225</width>
|
2010-08-23 11:21:56 -07:00
|
|
|
<height>100</height>
|
2010-09-05 21:47:01 -07:00
|
|
|
<onup>1052</onup>
|
2010-08-23 11:21:56 -07:00
|
|
|
<ondown>1032</ondown>
|
2010-09-05 21:47:01 -07:00
|
|
|
<orientation>horizontal</orientation>
|
|
|
|
<itemlayout width="75" height="27">
|
2010-08-23 11:21:56 -07:00
|
|
|
<control type="label">
|
|
|
|
<description>title</description>
|
|
|
|
<posx>9</posx>
|
|
|
|
<posy>0</posy>
|
2010-09-05 21:47:01 -07:00
|
|
|
<align>center</align>
|
2010-08-23 11:21:56 -07:00
|
|
|
<aligny>top</aligny>
|
|
|
|
<info>ListItem.Label</info>
|
|
|
|
<font>font18</font>
|
|
|
|
<textcolor>FF999999</textcolor>
|
|
|
|
<selectedcolor>FFFFFFFF</selectedcolor>
|
|
|
|
</control>
|
|
|
|
</itemlayout>
|
2010-09-05 21:47:01 -07:00
|
|
|
<focusedlayout width="75" height="27">
|
2010-08-23 11:21:56 -07:00
|
|
|
<control type="label">
|
|
|
|
<description>title</description>
|
|
|
|
<posx>9</posx>
|
|
|
|
<posy>0</posy>
|
2010-09-05 21:47:01 -07:00
|
|
|
<align>center</align>
|
2010-08-23 11:21:56 -07:00
|
|
|
<aligny>top</aligny>
|
|
|
|
<info>ListItem.Label</info>
|
|
|
|
<font>font18</font>
|
|
|
|
<textcolor>green</textcolor>
|
|
|
|
<visible>Control.HasFocus(1022)</visible>
|
|
|
|
<selectedcolor>green</selectedcolor>
|
|
|
|
</control>
|
|
|
|
<control type="label">
|
|
|
|
<visible>!Control.HasFocus(1022)</visible>
|
|
|
|
<description>title</description>
|
|
|
|
<posx>9</posx>
|
|
|
|
<posy>0</posy>
|
2010-09-05 21:47:01 -07:00
|
|
|
<align>center</align>
|
2010-08-23 11:21:56 -07:00
|
|
|
<aligny>top</aligny>
|
|
|
|
<info>ListItem.Label</info>
|
|
|
|
<font>font18</font>
|
|
|
|
<textcolor>FF999999</textcolor>
|
|
|
|
<selectedcolor>FFFFFFFF</selectedcolor>
|
|
|
|
</control>
|
|
|
|
</focusedlayout>
|
|
|
|
<content type="action">
|
|
|
|
<onclick lang="python"><![CDATA[mb.SetStreamMethod()]]></onclick>
|
|
|
|
</content>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<!-- END: STREAM METHOD -->
|
|
|
|
|
|
|
|
<!-- START: SMB SETTINGS -->
|
|
|
|
|
|
|
|
<control type="group" id="1030">
|
|
|
|
<control type="label" id="1031">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>550</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>250</width>
|
|
|
|
<align>left</align>
|
2010-09-05 21:47:01 -07:00
|
|
|
<label>SMB Settings</label>
|
2010-08-23 11:21:56 -07:00
|
|
|
<font>font23</font>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1032">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>575</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<label>Share:</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1022</onup>
|
|
|
|
<ondown>1033</ondown>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1033">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>605</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<label>Username:</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<onup>1032</onup>
|
|
|
|
<ondown>1034</ondown>
|
|
|
|
</control>
|
|
|
|
<control type="edit" id="1034">
|
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>635</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
|
|
|
<label>Password:</label>
|
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
|
|
|
<password>true</password>
|
|
|
|
<onup>1033</onup>
|
2010-08-31 18:26:40 -07:00
|
|
|
<ondown>1071</ondown>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<control type="grouplist" id="1070">
|
|
|
|
<posx>895</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>670</posy>
|
2010-08-31 18:26:40 -07:00
|
|
|
<width>300</width>
|
|
|
|
<itemgap>0</itemgap>
|
|
|
|
<orientation>horizontal</orientation>
|
|
|
|
<onup>1034</onup>
|
2010-09-05 21:47:01 -07:00
|
|
|
<ondown>1082</ondown>
|
2010-08-31 18:26:40 -07:00
|
|
|
<control type="button" id="1071">
|
|
|
|
<label>Save SMB Settings</label>
|
|
|
|
<texturefocus>bg_btn.png</texturefocus>
|
|
|
|
<texturenofocus></texturenofocus>
|
|
|
|
<font>font14</font>
|
|
|
|
<height>30</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<onclick lang="python"><![CDATA[mb.SaveSMBSettings()]]></onclick>
|
2010-08-23 11:21:56 -07:00
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
|
|
|
|
<!-- END: SMB SETTINGS -->
|
|
|
|
|
2010-09-05 21:47:01 -07:00
|
|
|
<!-- START: LOCAL SETTINGS -->
|
|
|
|
|
|
|
|
<control type="group" id="1080">
|
|
|
|
<control type="label" id="1081">
|
2010-08-23 11:21:56 -07:00
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>550</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>250</width>
|
|
|
|
<align>left</align>
|
2010-09-05 21:47:01 -07:00
|
|
|
<label>Local Settings</label>
|
2010-08-23 11:21:56 -07:00
|
|
|
<font>font23</font>
|
|
|
|
</control>
|
2010-09-05 21:47:01 -07:00
|
|
|
<control type="edit" id="1082">
|
2010-08-23 11:21:56 -07:00
|
|
|
<posx>820</posx>
|
2010-09-05 21:47:01 -07:00
|
|
|
<posy>575</posy>
|
2010-08-23 11:21:56 -07:00
|
|
|
<width>300</width>
|
2010-09-05 21:47:01 -07:00
|
|
|
<label>Path:</label>
|
2010-08-23 11:21:56 -07:00
|
|
|
<align>left</align>
|
|
|
|
<font>font18</font>
|
2010-09-05 21:47:01 -07:00
|
|
|
<onup>1070</onup>
|
|
|
|
<ondown>1084</ondown>
|
2010-08-23 11:21:56 -07:00
|
|
|
</control>
|
2010-09-05 21:47:01 -07:00
|
|
|
</control>
|
|
|
|
|
|
|
|
<control type="grouplist" id="1083">
|
|
|
|
<posx>895</posx>
|
|
|
|
<posy>605</posy>
|
|
|
|
<width>300</width>
|
|
|
|
<itemgap>0</itemgap>
|
|
|
|
<orientation>horizontal</orientation>
|
|
|
|
<onup>1082</onup>
|
|
|
|
<control type="button" id="1084">
|
|
|
|
<label>Save Local Settings</label>
|
|
|
|
<texturefocus>bg_btn.png</texturefocus>
|
|
|
|
<texturenofocus></texturenofocus>
|
|
|
|
<font>font14</font>
|
|
|
|
<height>30</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<onclick lang="python"><![CDATA[mb.SaveLocalSettings()]]></onclick>
|
2010-08-23 11:21:56 -07:00
|
|
|
</control>
|
|
|
|
</control>
|
2010-09-05 21:47:01 -07:00
|
|
|
|
|
|
|
<!-- END: LOCAL SETTINGS -->
|
|
|
|
|
|
|
|
<!-- START: LOADING SCREEN -->
|
2010-08-23 11:21:56 -07:00
|
|
|
|
2010-08-31 18:26:40 -07:00
|
|
|
<control type="group" id="9000">
|
|
|
|
<visible>App.HasSetting(loadingsettings)</visible>
|
|
|
|
<animation effect="fade" start="0" end="100" time="150">VisibleChange</animation>
|
|
|
|
<control type="image" id="9001">
|
|
|
|
<width>1280</width>
|
|
|
|
<height>720</height>
|
|
|
|
<texture>black.png</texture>
|
|
|
|
<animation effect="fade" start="80" end="80" time="0" condition="true">Conditional</animation>
|
|
|
|
</control>
|
|
|
|
<control type="label" id="9002">
|
|
|
|
<posy>0</posy>
|
|
|
|
<posx>0</posx>
|
|
|
|
<width>1280</width>
|
|
|
|
<height>720</height>
|
|
|
|
<align>center</align>
|
|
|
|
<aligny>center</aligny>
|
|
|
|
<font>sans40b</font>
|
|
|
|
<label>LOADING...</label>
|
|
|
|
<textcolor>ffffffff</textcolor>
|
|
|
|
</control>
|
|
|
|
</control>
|
2010-09-05 21:47:01 -07:00
|
|
|
|
|
|
|
<!-- END: LOADING SCREEN -->
|
2010-08-23 11:21:56 -07:00
|
|
|
|
|
|
|
</controls>
|
|
|
|
</window>
|