5efbc92b05
Add audio track selection to video player OSD
53 lines
2.7 KiB
XML
53 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<component name="VideoPlayerView" extends="Video">
|
|
<interface>
|
|
<field id="backPressed" type="boolean" alwaysNotify="true" />
|
|
<field id="selectSubtitlePressed" type="boolean" alwaysNotify="true" />
|
|
<field id="selectAudioPressed" type="boolean" alwaysNotify="true" />
|
|
<field id="selectPlaybackInfoPressed" type="boolean" alwaysNotify="true" />
|
|
<field id="PlaySessionId" type="string" />
|
|
<field id="Subtitles" type="array" />
|
|
<field id="SelectedSubtitle" type="integer" value="-2" alwaysNotify="true" />
|
|
<field id="previousSubtitleWasEncoded" type="boolean" />
|
|
<field id="container" type="string" />
|
|
<field id="directPlaySupported" type="boolean" />
|
|
<field id="systemOverlay" type="boolean" value="false" />
|
|
<field id="showID" type="string" />
|
|
<field id="lastFocus" type="node" />
|
|
|
|
<field id="transcodeParams" type="assocarray" />
|
|
<field id="transcodeAvailable" type="boolean" value="false" />
|
|
<field id="retryWithTranscoding" type="boolean" value="false" />
|
|
<field id="isTranscoded" type="boolean" />
|
|
<field id="transcodeReasons" type="array" />
|
|
|
|
<field id="videoId" type="string" />
|
|
<field id="mediaSourceId" type="string" />
|
|
<field id="fullSubtitleData" type="array" />
|
|
<field id="fullAudioData" type="array" />
|
|
<field id="audioIndex" type="integer" />
|
|
<field id="allowCaptions" type="boolean" value="false" />
|
|
</interface>
|
|
|
|
<children>
|
|
<Group id="captionGroup" translation="[960,1020]" />
|
|
<timer id="playbackTimer" repeat="true" duration="30" />
|
|
<timer id="bufferCheckTimer" repeat="true" />
|
|
<OSD id="osd" visible="false" inactiveTimeout="5" />
|
|
|
|
<Rectangle id="chapterList" visible="false" color="0x00000098" width="400" height="380" translation="[103,210]">
|
|
<LabelList id="chaptermenu" itemSpacing="[0,20]" numRows="5" font="font:SmallSystemFont" itemSize="[315,40]" translation="[40,20]">
|
|
<ContentNode id="chapterContent" role="content" />
|
|
</LabelList>
|
|
</Rectangle>
|
|
|
|
<JFButton id="nextEpisode" opacity="0" textColor="#f0f0f0" focusedTextColor="#202020" focusFootprintBitmapUri="pkg:/images/option-menu-bg.9.png" focusBitmapUri="pkg:/images/white.9.png" translation="[1500, 900]" />
|
|
<!--animation for the play next episode button-->
|
|
<Animation id="showNextEpisodeButton" duration="1.0" repeat="false" easeFunction="inQuad">
|
|
<FloatFieldInterpolator key="[0.0, 1.0]" keyValue="[0.0, .9]" fieldToInterp="nextEpisode.opacity" />
|
|
</Animation>
|
|
<Animation id="hideNextEpisodeButton" duration=".25" repeat="false" easeFunction="inQuad">
|
|
<FloatFieldInterpolator key="[0.0, 1.0]" keyValue="[.9, 0]" fieldToInterp="nextEpisode.opacity" />
|
|
</Animation>
|
|
</children>
|
|
</component> |