plexinc-plugins/ustream.bundle — pull request #2 by mmccurdy07 (2012-09-18 07:21:16+00:00)
Title: non-US ustream compatibility fixes

After wrestling with my VPN and Dutch language version... I figured out what was happening. Non-US sites do subnav on the main page a little differently. Unfortunately, since details about the sub-categories don't load right away, it would require another page load to access the "discover" URLs. My solution is to try to load them dynamically, but otherwise fail back to a hard-coded set of basic categories. This is somewhat more brittle, but these basic categories don't seem to change much if ever. Also kept your fix for lazy-loaded NL-style thumbs, but added back the fallback for the US-style ones. Everything seems to work for both sites now. Mind the cache if you're testing. Thanks for helping out with this!

(also feel free to ignore the latest checkin, which just re-asserts the & fix for the test URL's... still trying to bend git to my will ;)