Kodi Community Forum
Using Pyglet to play a video (second stream) - 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: Using Pyglet to play a video (second stream) (/showthread.php?tid=201123)



Using Pyglet to play a video (second stream) - Mr Mojo Risin - 2014-08-01

Hi,

I've been looking at creating an add-on which will run a second video stream. Researching through the forums, doing this via the XBMC core looks like a lot of tinkering with that would require a lot of work and it looks as though there are some structural issues with XBMC that don't allow the media player to be run twice - This is coming from people who are very familiar with XBMC and are excellent C++ coders. I'm reasonably familiar with the core but am only a beginner at C++.

What I was thinking was to use the pyglet module - http://www.pyglet.org/index.html - to display a second video stream. Before I rush into this, do you guys think this is a feasible option or is there a significant roadblock to stopping it from working? I'll be primarily building this into OpenELEC so will have to load the module which is no problem.

I have noticed quite a few requests for a picture in picture in the forums over the years.