2019-06-26, 13:39
I have been scratching my head over this issue for a couple of days. Hopefully someone knows the answer.
How do you get information from game infoLabels to display in Kodi? This is in Kodi v18 Leia using the default Estuary skin. I have tried to assign the infoLabels to the items displayed by the plugin, but they do not show up anywhere. Additional information in the side panel view of the skin displays "No information available" when browsing the list, and it is not possible to bring up the information window.
Minimal working example:
Is this feature not yet implemented for game plugins in Leia, or is the information only displayed when using retroplayer?
How do you get information from game infoLabels to display in Kodi? This is in Kodi v18 Leia using the default Estuary skin. I have tried to assign the infoLabels to the items displayed by the plugin, but they do not show up anywhere. Additional information in the side panel view of the skin displays "No information available" when browsing the list, and it is not possible to bring up the information window.
Minimal working example:
python:
game = {'title': 'Super Mario Bros', 'platform': 'Atari 2600', 'genres': ['Action','Strategy'], 'publisher': 'Nintendo', 'developer': 'Square', 'overview': 'Do you have what it takes to save the Mushroom Princess?', 'year': 1980}, 'gameclient': 'retroarch'}
xbmcplugin.setContent(handle, 'games')
li = xbmcgui.ListItem(Label=game['title'])
li.setInfo('game', infoLabels=game)
xbmcplugin.addDirectoryItem(handle, url, li, False, 1)
xbmcplugin.endOfDirectory(addon_handle)
Is this feature not yet implemented for game plugins in Leia, or is the information only displayed when using retroplayer?