Closed FrankSpierings closed 8 years ago
I believe I found the answer to the problem myself. The listItem that I created in my plugin requires the property isPlayable set to true.
listItem = xbmcgui.ListItem("Some Title")
listItem.setProperty('IsPlayable', 'true')
I'm trying to ask pulsar to start video's using the endpoint: plugin://plugin.video.pulsar/show/%s/season/%s/episode/%s/links or plugin://plugin.video.pulsar/show/%s/season/%s/episode/%s/play
I'm doing this by simply building a listItem and adding them as a directoryitem : xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)
In the case of the /links, it does show me a list from which I can choose a source. When I click the link nothing happens. The log ends with the following
I suspect I need to pass the window handle, but I don't know where or how it is expected. /play has the same problem. The difference is, the warning about the invalid handle shows up a bit earlier in the logs. It still ends with the [GIN] 302.
Any idea what I'm doing wrong?