jf-roku/components/MovieItemDetails.xml

50 lines
1.7 KiB
XML
Raw Normal View History

2019-03-08 03:47:10 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<component name="MovieItemDetailScene" extends="Scene">
<children>
2019-03-09 20:08:34 +00:00
<LayoutGroup id="main_group" layoutDirection="horiz" translation="[50, 50]">
2019-03-08 03:47:10 +00:00
<Poster id="moviePoster"
translation="[150,150]"
width="196" height="294" />
2019-03-08 06:22:16 +00:00
<LayoutGroup layoutDirection="vert" translation="[355, 150]" itemSpacings="[0, 10]">
2019-03-08 03:47:10 +00:00
<Label id="title" />
2019-03-08 06:22:16 +00:00
<LayoutGroup layoutDirection="horiz" itemSpacings="[10, 0]">
2019-03-08 03:47:10 +00:00
<Label id="releaseYear" />
<Label id="runtime" />
2019-03-08 06:22:16 +00:00
<Label id="officialRating" />
<Label id="communityRating" />
2019-03-08 03:47:10 +00:00
<Label id="ends-at" />
</LayoutGroup>
<Label id="genres" />
<Label id="director" />
<Label id="video_codec" />
<Label id="audio_codec" />
<ButtonGroup id="buttons" layoutDirection="horiz" itemSpacings="[10, 0]">
<Button text="Play" />
<Button text="Delete" />
<Button text="Watched" />
<Button text="Favorite" />
</ButtonGroup>
2019-03-08 06:22:16 +00:00
<Label id="tagline" />
2019-03-08 03:47:10 +00:00
<Label id="overview" />
</LayoutGroup>
</LayoutGroup>
</children>
<interface>
<field id="itemJson" type="associativearray" onChange="itemContentChanged" />
</interface>
<script type="text/brightscript" uri="pkg:/source/config.brs" />
<script type="text/brightscript" uri="pkg:/source/JellyfinAPI.brs" />
2019-03-09 20:08:34 +00:00
<script type="text/brightscript" uri="pkg:/components/MovieItemDetails.brs" />
2019-03-08 03:47:10 +00:00
<script type="text/brightscript">
<![CDATA[
sub init()
2019-03-09 20:08:34 +00:00
main = m.top.findNode("main_group")
dimensions = m.top.getScene().currentDesignResolution
2019-03-08 03:47:10 +00:00
m.top.findNode("buttons").setFocus(true)
end sub
2019-03-08 03:47:10 +00:00
]]>
</script>
</component>