42 lines
2.0 KiB
XML
42 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<component name="SetServerScreen" extends="JFGroup">
|
|
<interface>
|
|
<field id="serverUrl" type="string" />
|
|
<field id="serverWidth" alias="serverUrlOutline.width,serverUrl.width,serverUrlContainer.width" value="1570" />
|
|
<field id="serverHeight" alias="serverUrlOutline.height,serverUrl.height,serverUrlContainer.height" value="60" />
|
|
</interface>
|
|
|
|
<children>
|
|
<Group translation="[150,0]">
|
|
<label text="Connect to Server" id="prompt" font="font:LargeBoldSystemFont" translation="[0, 150]" />
|
|
|
|
<label text="Pick a Jellyfin server from the local network" translation="[0, 200]" />
|
|
<!--background for server picker-->
|
|
<Rectangle color="0x00000020" width="1690" height="400" translation="[0, 250]">
|
|
<Spinner id="spinner" translation="[717, 136]" />
|
|
<MarkupList id="serverPicker" translation="[50, 20]" itemComponentName="JFServer" itemSpacing="[0, 10]" itemSize="[1590, 100]" numRows="3" vertFocusAnimationStyle="fixedFocus" />
|
|
</Rectangle>
|
|
|
|
<label text="...or enter server information manually" translation="[0, 670]" />
|
|
|
|
<Rectangle color="0x00000020" width="1690" height="400" translation="[0, 730]">
|
|
|
|
<LayoutGroup layoutDirection="horiz" vertAlignment="center" translation="[10, 50]">
|
|
<Label text="URL: " font="font:MediumSystemFont" translation="[0, 25]" />
|
|
<Rectangle id="serverUrlContainer" color="0x00000000">
|
|
<TextEditBox id="serverUrl" hintText="e.g. 192.168.1.100:8096 or https://example.com/jellyfin"></TextEditBox>
|
|
<Poster id="serverUrlOutline" visible="false" uri="pkg:/images/hd_focus.9.png" />
|
|
</Rectangle>
|
|
</LayoutGroup>
|
|
|
|
<Button id="submit" text="Submit" translation="[10, 100]" focusable="true" showFocusFootprint="false" iconUri="" focusedIconUri=""></Button>
|
|
</Rectangle>
|
|
|
|
<label text="" id="alert" font="font:MediumSystemFont" translation="[0, 555]" />
|
|
</Group>
|
|
</children>
|
|
|
|
<script type="text/brightscript" uri="SetServerScreen.brs" />
|
|
|
|
</component>
|