2015-05-08, 14:05
I am working on creating my own addon, but when I set the URL to play a video using the plugin nothing occurs.
li = xbmcgui.ListItem('ListItemName')
li.setProperty('isplayable', 'true')
url = 'plugin://plugin.video.youtube/play/?video_id=XXXXXXX'
li.setProperty('Video', 'true')
xbmcplugin.addDirectoryItem(handle=addon_handle , url=url, listitem=li, isFolder=False)
Does the setProperty need to be set to something different besides 'Video'? Currently I am using Kodi 15.0. Is the plugin still supported in 15.0?
li = xbmcgui.ListItem('ListItemName')
li.setProperty('isplayable', 'true')
url = 'plugin://plugin.video.youtube/play/?video_id=XXXXXXX'
li.setProperty('Video', 'true')
xbmcplugin.addDirectoryItem(handle=addon_handle , url=url, listitem=li, isFolder=False)
Does the setProperty need to be set to something different besides 'Video'? Currently I am using Kodi 15.0. Is the plugin still supported in 15.0?