Kodi Community Forum
how can i get player info plot or label width python script? - 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: how can i get player info plot or label width python script? (/showthread.php?tid=348922)



how can i get player info plot or label width python script? - moshep15 - 2019-11-03

can someone please explain how can i get info details in a player like plot or label using python script instead of buildin function $INFO[videoplayer.plot]?


RE: how can i get player info plot or label width python script? - black_eagle - 2019-11-03

python:
import xbmc
plot = xbmc.getInfoLabel('VideoPlayer.Plot')



RE: how can i get player info plot or label width python script? - moshep15 - 2019-11-05

(2019-11-03, 13:19)black_eagle Wrote:
python:
import xbmc
plot = xbmc.getInfoLabel('VideoPlayer.Plot')

thanks