XBMC Community Forum
add-onn double start - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+--- Thread: add-onn double start (/showthread.php?tid=121754)



add-onn double start - prono - 2012-02-02 17:19

Hello,

I'm building an add-on and, maybe just for me, sometimes when I start to play a stream it does not start immediately and I try to start it again I end up with two streams started and it confuses XBMC and the addon.

The reasons for double starting can be many.

Is there a way to detect double start in a plugin? My understanding is that they are two independent threads that don't communicate.

If anybody can share some light in this area would be greatly appreciated.

Thank you.