2022-05-05, 13:33
I have bunch of context menu items which call RunPlugin() to execute some code in same plugin but no matter what path is called there is always handle with value of -1. It bothers me mainly because if I have context menu item which should start Kodi player I cannot use:
and only way to play it is using this method instead:
Which would be fine but it causes an issue with Kodi not tracking watch progress. But maybe I am wrong and there is other reason why progress is not tracked.
xbmcplugin.setResolvedUrl(handle, success, li):
and only way to play it is using this method instead:
xbmc.Player().play(filename, li):
Which would be fine but it causes an issue with Kodi not tracking watch progress. But maybe I am wrong and there is other reason why progress is not tracked.