XBMC to stream file like python objects?
#1
You know with this ever evolving thing we call the webernets. People come up with new protocols for streaming stuff all the time.. Look at all those specialized proprietary streaming protocols that a lot of USA BIG BOX tv stations use on their websites.. like ABC, FOX, etc..

The point is instead of having XBMC (and someone else) have to port a new streaming protocol, and what not every time one becomes popular.

Why can't us python developers for xbmc just pass a file like object to XBMC ?
Let XBMC stream the file like object!

And that way we can have complete control on telling it what to stream, etc.. how fast, what bytes we send it, etc..

I'm working on a new cloud based data distribution protocol, that guess what no one has ever heard of, and XBMC doesn't support.

It would be great if you could add support for XBMC C++ backend to somehow support an object we pass it in python.
All the object would need is READ, SEEK, and CLOSE methods

All XBMC has to do is simply read, seek and close as it sees fit, but on the python side, we'll have complete control over what it will be reading.

Another benefit of this, aside from scripts to be able to dictate their own protocols for streaming data, is:
Being able to access the stream in the way we choose.

ie: on accessing many HTTP streams, sometimes there is authentication, cookies, referers, and what not that is required in order to access the socket that ultimately serves the file over HTTP

Scripts can access the socket in the way they choose, and then simply pass on the socket-file like object to XBMC to stream.
Spread the knowledge, nothing else.Image
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC to stream file like python objects?0