Kodi Community Forum
xbmcplugin.setResolvedUrl - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: xbmcplugin.setResolvedUrl (/showthread.php?tid=252721)



xbmcplugin.setResolvedUrl - montana - 2015-12-19

Hello,

I am trying to play a video in kodi.

I notice at the end of the video.plugin. Theres a

xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, item)

I wonder how can I run that command 3 times for 10 sec if theres a timeout?

I have links that are slow to start. I have to wait until kodi fails to restart it. When I get the message Playback Failed.

Is there an exemple in python how to play a m3u8 file somewhere? I've been looking all over for 2 weeks and I cannot find an easy walktrough.