2022-01-31, 16:50
I have an addon which previously played pictures via Kodi. I looked at the documentation and the ListItem type says pictures is supported and it used to work. Here's my listitem code:
elif mediaClass_text == 'pictures':
li.addContextMenuItems([ (menuitem1, 'Container.Refresh'), (menuitem2, 'Action(ParentDir)') ])
info = {
'title': title,
}
li.setInfo(mediaClass_text, info)
xbmcplugin.addDirectoryItem(handle=addon_handle, url=itemurl, listitem=li, isFolder=False)
I am seeing in the logs when I click on a picture listitem:
2022-01-31 09:43:14.358 T:45596 WARNING: Playlist Player: ListItem type must be audio or video, use ListItem:etInfo to specify!
Has picture support been deprecated or is there something else now I need to do to display the pictures ?
Thanks,
Jeff
elif mediaClass_text == 'pictures':
li.addContextMenuItems([ (menuitem1, 'Container.Refresh'), (menuitem2, 'Action(ParentDir)') ])
info = {
'title': title,
}
li.setInfo(mediaClass_text, info)
xbmcplugin.addDirectoryItem(handle=addon_handle, url=itemurl, listitem=li, isFolder=False)
I am seeing in the logs when I click on a picture listitem:
2022-01-31 09:43:14.358 T:45596 WARNING: Playlist Player: ListItem type must be audio or video, use ListItem:etInfo to specify!
Has picture support been deprecated or is there something else now I need to do to display the pictures ?
Thanks,
Jeff