2017-11-26, 12:56
(2017-11-24, 00:14)rafikW Wrote: Hi,I made this customization by myself:
Would like to ask you one question: is it possible to display a chapter name?
For now I see for example: "Now playing - Chapter: 05 of 12"
In Confluence it is something like this: "Chapter: 05 / 12 - (Chapter Title)"
How to make in Xonfluence the same result: "Now playing - Chapter: 05 of 12 (Chapter Tilte)" ?
- in DialogSeekBar.xml:
<control type="image">
<left>-200</left>
<top>0</top>
<width>370</width>
<height>70</height>
<colordiffuse>00000000</colordiffuse>
<texture border="0">OverlayDialogBackground.png</texture>
</control>
<control type="label" id="1">
<description>Chapter Pos No</description>
<left>-200</left>
<top>10</top>
<width>370</width>
<height>20</height>
<align>center</align>
<aligny>center</aligny>
<font>font11_title</font>
<textcolor>$VAR[MainColorOne]</textcolor>
<label>$LOCALIZE[21396]</label>
<visible>player.chaptercount</visible>
</control>
<control type="label" id="1">
<description>Chapter Pos No</description>
<left>-200</left>
<top>30</top>
<width>370</width>
<height>20</height>
<align>center</align>
<aligny>center</aligny>
<font>font10_title</font>
<textcolor>grey2</textcolor>
<label>$INFO[player.chapter]$INFO[player.chaptercount, / ]</label>
<visible>player.chaptercount</visible>
</control>
<control type="label" id="1">
<description>Chapter Pos No</description>
<left>-200</left>
<top>48</top>
<width>370</width>
<height>20</height>
<align>center</align>
<aligny>center</aligny>
<font>font10</font>
<textcolor>white</textcolor>
<label>$INFO[Player.ChapterName]</label>
<visible>player.chaptercount</visible>
</control>
and this section commented out:
<!-- //
<control type="image">
<left>0</left>
<top>0</top>
<width>370</width>
<height>70</height>
<colordiffuse>EEFFFFFF</colordiffuse>
<texture border="12">OverlayDialogBackground.png</texture>
<visible>!Skin.HasSetting(HidePopUpSeekBar)</visible>
</control>
// -->
- in IncludesOnScreenDisplay.xml:
line:
<label>$LOCALIZE[31040] - $LOCALIZE[21396]$LOCALIZE[31001] $INFO[player.chapter]$INFO[player.chaptercount, $LOCALIZE[31088] ]</label>
replaced by:
<label>$INFO[Player.Chapter,$LOCALIZE[21396]: ]$INFO[Player.ChapterCount, / ]$INFO[Player.ChapterName, - (,)]</label>
Results:
- in Pause
in Video OSD: