2019-03-08 03:47:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<component name="MovieItemDetailScene" extends="Scene">
|
|
|
|
<children>
|
2019-03-10 06:12:09 +00:00
|
|
|
<LayoutGroup id="main_group" layoutDirection="horiz" >
|
2019-03-08 03:47:10 +00:00
|
|
|
<Poster id="moviePoster"
|
|
|
|
translation="[150,150]"
|
2019-03-10 05:53:36 +00:00
|
|
|
width="400" height="600" />
|
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" />
|
2019-03-09 22:23:57 +00:00
|
|
|
<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>
|
2019-03-10 06:12:09 +00:00
|
|
|
<field id="itemContent" type="node" onChange="itemContentChanged" />
|
2019-03-08 03:47:10 +00:00
|
|
|
</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
|
|
|
|
2019-03-10 06:12:09 +00:00
|
|
|
main.translation=[50, 50]
|
|
|
|
|
2019-03-09 22:23:57 +00:00
|
|
|
m.top.findNode("buttons").setFocus(true)
|
2019-03-09 22:09:21 +00:00
|
|
|
end sub
|
2019-03-08 03:47:10 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
</component>
|