Overlay text
#1
I want to write a service that shows some dynamic information as the video is being played. I could not find a way to do this.
I could find that this could be achieved by copying a skin and then customizing one of the .window xml files (VideoOverlay.xml ?). I think there could be a better and simpler way to do this. But I could not find the correct search terms to locate a suitable starting point. Please let me know if you know a suitable example.

The debug information display, if it is implemented as an addon, woud be good sample for me. But, I could not locate such add on (I am using osmc).
Reply
#2
I found from web that the right window xml file is VideoFullscreen.xml ;
With the following added to this file, I coud get a dynamic label into the video screen.
<control type="label" id="1"> <description>Clock label</description> <left>450</left> <top>5</top> <width>800</width> <height>25</height> <align>right</align> <aligny>center</aligny> <font>font13</font> <textcolor>grey</textcolor> <shadowcolor>black</shadowcolor> <label>$INFO[System.Time]</label>
</control>
Reply

Logout Mark Read Team Forum Stats Members Help
Overlay text0