2015-11-26, 12:43
Well you are beyond my skill set with that one but my brain suggests that Kodi isn't getting the message that the stream has indeed been opened and to close the dialog. This chap had a similar issue and resolved it in his python code. Not sure if it helps but might suggest an angle of attack.
http://forum.kodi.tv/showthread.php?tid=...pid1733673
http://forum.kodi.tv/showthread.php?tid=...pid1733673