Play video through proxy
#1
Hello!

Im developing add on that stream videos from a website.
This website is blocked in some countries, so I added an option to configure proxy in the addon settings.
Then, I connect to the proxy using SocksiPy python module.

When I send an http request from urllib, it goes through the proxy. But when im trying to stream the video like this:
Code:
li = xbmcgui.ListItem(name, iconImage=icon)
xbmcplugin.addDirectoryItem(handle=__addon_handle__, url=videoURL, listitem=li, isFolder=False)

XBMC trying to stream the video not through the proxy.

I saw some plugins (iPlayer for example) that have proxy configuration which works also with streaming.

someone have a solution? (not must to be with socksipy)
Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Play video through proxy0