jf-roku/components/liveTv/ProgramDetails.xml

91 lines
5.2 KiB
XML
Raw Normal View History

2020-11-23 17:13:57 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<component name="ProgramDetails" extends="JFGroup">
<children>
<!-- Selected Item Details -->
<maskGroup id="backgroundMask" maskUri="pkg:/images/backgroundmask.png" translation="[1320, 150]" maskSize="[500,375]">
<Poster id="image" height="375" width="500" loadDisplayMode="scaleToFit" />
</maskGroup>
2022-05-14 10:13:28 +00:00
<Poster id="favorite" translation="[1335, 165]" uri="pkg:/images/icons/favorite_selected.png" visible="false" />
<Group id="detailsView" visible="false">
2020-11-23 17:13:57 +00:00
<Group translation = "[ 96, 160 ]">
<LayoutGroup itemSpacings="[4,20, 20, 20, 40]">
<Label id="programName" font="font:LargeBoldSystemFont" />
<LayoutGroup id="episodeDetailsGroup" layoutDirection="horiz" itemSpacings="[10]">
<Group id="isLive">
<Poster id="isLiveBackground" uri="pkg:/images/white.9.png" blendColor="#FF0000" />
<Label id="isLiveText" text="Live" font="font:SmallestBoldSystemFont" translation="[8,4]" />
</Group>
<Group id="isRepeat">
<Poster id="isRepeatBackground" uri="pkg:/images/white.9.png" blendColor="#009688" />
<Label id="isRepeatText" text="Repeat" font="font:SmallestBoldSystemFont" translation="[8,4]" />
</Group>
<Label id="episodeNumber" font="font:SmallSystemFont" />
<Label id="episodeTitle" font="font:SmallSystemFont" />
</LayoutGroup>
<LayoutGroup layoutDirection="horiz" itemSpacings="[30]">
<Label id="duration" />
<Label id="broadcastDetails" />
<Label id="channelName" />
</LayoutGroup>
<label id="overview" wrap="true" width="1210" font="font:SmallestSystemFont" />
2022-01-05 03:36:21 +00:00
<LayoutGroup layoutDirection="horiz" itemSpacings="[30]">
<!-- View Channel button -->
<Group id="viewChannelButton" opacity="0">
<Poster id="viewChannelButtonBackground" uri="pkg:/images/white.9.png" blendColor="#000000" />
2022-01-05 03:36:21 +00:00
<Poster id="viewChannelOutline" visible="false" uri="pkg:/images/hd_focus.9.png" />
<Label id="viewChannelButtonLabel" text="View Channel" translation="[20,20]" />
2022-01-05 03:36:21 +00:00
</Group>
<!-- Record button -->
<Group id="recordButton" opacity="0">
<Poster id="recordButtonBackground" uri="pkg:/images/white.9.png" blendColor="#000000" />
2022-01-05 03:36:21 +00:00
<Poster id="recordOutline" visible="false" uri="pkg:/images/hd_focus.9.png" />
<Label id="recordButtonLabel" text="Record" translation="[20,20]" />
2022-01-05 03:36:21 +00:00
</Group>
<!-- Record Series button-->
<Group id="recordSeriesButton" opacity="0">
<Poster id="recordSeriesButtonBackground" uri="pkg:/images/white.9.png" blendColor="#000000" />
<Poster id="recordSeriesOutline" visible="false" uri="pkg:/images/hd_focus.9.png" />
<Label id="recordSeriesButtonLabel" text="Record Series" translation="[20,20]" />
</Group>
2022-01-05 03:36:21 +00:00
</LayoutGroup>
2020-11-23 17:13:57 +00:00
</LayoutGroup>
</Group>
</Group>
<!-- When no schedule information to display -->
<LayoutGroup id="noInformation" translation="[96, 300]">
<Label id="noInfoChannelName" font="font:LargeBoldSystemFont" />
<Label font="font:SmallSystemFont" text="No schedule information" />
</LayoutGroup>
2020-11-23 17:13:57 +00:00
<Animation id="focusAnimation" duration="0.66" repeat="false" easeFunction="linear" >
2022-01-05 03:36:21 +00:00
<FloatFieldInterpolator id="viewChannelFocusAnimationOpacity" key="[0.0, 1]" fieldToInterp="viewChannelButton.opacity" />
<FloatFieldInterpolator id="recordFocusAnimationOpacity" key="[0.0, 1]" fieldToInterp="recordButton.opacity" />
<FloatFieldInterpolator id="recordSeriesFocusAnimationOpacity" key="[0.0, 1]" fieldToInterp="recordSeriesButton.opacity" />
2020-11-23 17:13:57 +00:00
</Animation>
</children>
<interface>
<field id="WatchSelectedChannel" type="boolean" value="false" />
2022-01-05 03:50:45 +00:00
<field id="recordSelectedChannel" type="boolean" value="false" />
<field id="recordSeriesSelectedChannel" type="boolean" value="false" />
<field id="channel" type="node" onchange="channelUpdated" />
2022-05-14 10:13:28 +00:00
<field id="favorite" type="node" onchange="channelUpdated" />
2020-11-23 17:13:57 +00:00
<field id="programDetails" type="node" onchange="programUpdated" />
<field id="height" type="integer" />
<field id="hasFocus" type="boolean" onChange="focusChanged" />
</interface>
<script type="text/brightscript" uri="ProgramDetails.brs" />
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
2020-11-23 17:13:57 +00:00
</component>