2011-02-22, 02:51
Wilda Wrote:Thanks for the updates. HD is working great and looks lovely on the TV.
Has any one had any luck with the new proxy setting? I had to modify it to also pass my username and password since my proxy requires authentication but it still throws network errors when browsing some folders and won't play any videos.
I pasted in my own proxy code that I've been using since 2.3.2 and it works for videos but breaks radio. It did this in 2.3.2 too. I'll have to see if I can get it sorted.
I changed the code for httpget(url) back to urllib and changed it to urllib2 since urllib doesn't support proxy authentication.
if urllib2 supports both proxies and authentication it makes sense to use that over the current library + the socks library (which i didnt check if it did authentication but might do).
bearing in mind only the xml handshake is proxied, you can probably use any number of slow/free open proxies.
switching away from http library would mean i need to do a new caching mechanism but actually its preferable to me, since I still run this on the old xbox1 and the less stuff to load the better (And I still use my c64 and amiga - I know.. im seeking help ;-) )
If I had enough free time I would do a rewrite with some sort of modular system to addon lots of tv providers with a unified interface.. As usual I have ideas, and never the time to implement, but switching to urllib2 is a feasible one I guess.
[edit] ill look into making the changes. the urllib2 switch is simple, just the cache stuff would be a nice to have. would be good if you could test code before i release it. please drop me an email buzz [at] exotica.org.uk and we can work on it ?