2008-08-21, 05:56
There is a website that requires certain cookies & certain headers to be sent in the query to stream the video url...
How much control do I have in python in controlling how xbmc streams & downloads the online url, for any scheme.. http or rtsp..etc..?
For example, in python I can use urllib2 to send custom headers & cookies to the online video, and being downloading the file in chunks.. can I send these chunks to the xbmc play buffer, and send commands to being playing the parts that I downloaded..? Are there functions for this for controlling the way xbmc plays & downloads things via python?
I looked in:
http://home.no.net/thor918/xbmc/xbmc.html
All I saw where functions to "play" a file but no control over how it is requested and played..etc...
How much control do I have in python in controlling how xbmc streams & downloads the online url, for any scheme.. http or rtsp..etc..?
For example, in python I can use urllib2 to send custom headers & cookies to the online video, and being downloading the file in chunks.. can I send these chunks to the xbmc play buffer, and send commands to being playing the parts that I downloaded..? Are there functions for this for controlling the way xbmc plays & downloads things via python?
I looked in:
http://home.no.net/thor918/xbmc/xbmc.html
All I saw where functions to "play" a file but no control over how it is requested and played..etc...