Kodi Community Forum
Old plugin. re-open broadcast. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Old plugin. re-open broadcast. (/showthread.php?tid=126597)

Old plugin. re-open broadcast. - rryk - 2012-03-26

Hi, I'm new to programming and I ask for your understanding. I have an old plug-in that plays stream from web but this broadcast occur frequently breaks. XBMC reads this as the end of the program and close it, so everytime I need to start from scratch. So how to do that after receiving the message "PlayBackEnded" will automatically re-opened programs. What i must write in this space:

def onPlayBackEnded(self):

Ps. Apologize for my English.