Overlay text - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: Overlay text (/showthread.php?tid=243540) |
Overlay text - jsuresh - 2015-10-13 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). RE: Overlay text - jsuresh - 2015-10-13 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> |