Kodi Community Forum
Solved Which API functions show track title and cover art on the Now playing? - 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: Solved Which API functions show track title and cover art on the Now playing? (/showthread.php?tid=355468)



Which API functions show track title and cover art on the Now playing? - homocomputeris - 2020-06-26

Which Python functions are used to show title, author, cover art and other info on the Now playing... screen?
Image


RE: Which API functions show track title and cover art on the Now playing? - ronie - 2020-06-26

for cover art, use the setArt() function:
https://codedocs.xyz/xbmc/xbmc/group__python__xbmcgui__listitem.html#gad3f9b9befa5f3d2f4683f9957264dbbe

for all the other info, use the setInfo() function:
https://codedocs.xyz/xbmc/xbmc/group__python__xbmcgui__listitem.html#ga0b71166869bda87ad744942888fb5f14


RE: Which API functions show track title and cover art on the Now playing? - homocomputeris - 2020-06-26

Thanks.
Although it is a function for a list item, these metadata will be transferred to Now playing?


RE: Which API functions show track title and cover art on the Now playing? - ronie - 2020-06-26

yes, if the info is set for the listitem, it will also be available during playback


This forum uses Lukasz Tkacz MyBB addons.