Kodi Community Forum
Update Infolabel title during playback - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Update Infolabel title during playback (/showthread.php?tid=173262)



Update Infolabel title during playback - lorus11 - 2013-09-11

Hello,

is it possible to update the infolabel title text periodically while the player is running?


cheerz,

lorus


RE: Update Infolabel title during playback - pkscout - 2013-09-12

I'm not entirely sure about which InfoLabel you are asking specifically, but here's how you can change an InfoLabel from python:

Code:
import xbmcgui
WINDOW = xbmcgui.Window( 12006 )
WINDOW.setProperty("InfoLabelName", "the new value")

In this case 12006 is the number of the fullscreen music window. You can get a full list of Window IDs from:

http://wiki.xbmc.org/?title=Window_IDs


RE: Update Infolabel title during playback - lorus11 - 2013-09-15

Quote:I'm not entirely sure about which InfoLabel you are asking specifically, but here's how you can change an InfoLabel from python:

I mean this title and I want to change it periodically during playback.
Image

Is this possible?


RE: Update Infolabel title during playback - lorus11 - 2013-10-11

Any further thoughts on this?