Awesome job on the add-on! I've been catching up on FRONTLINE epsiodes lately and I was very happy to stumble on this thread.
One small pointer for anyone using this add-on from outside the US: You will find that some of the content provided by PBS is georestricted (e.g. newer FRONTLINE and Nova episodes). Proxies circumvent this, but can be slow and difficult to find.
Luckily there's a much easier solution: Modify the HTML request headers to pose as a US user. Here's how:
1. Open up ~/.kodi/addons/plugin.video.thinktv/default.py
2. Find the `defaultHeaders` section. It will look similar to this:
Code:
defaultHeaders = {'User-Agent':USER_AGENT,
'Accept':"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
'Accept-Encoding':'gzip,deflate,sdch',
'Accept-Language':'en-US,en;q=0.8'}
3. Add 'X-Forwarded-For':'12.13.14.15' to the headers:
Code:
defaultHeaders = {'User-Agent':USER_AGENT,
'Accept':"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
'Accept-Encoding':'gzip,deflate,sdch',
'Accept-Language':'en-US,en;q=0.8',
'X-Forwarded-For':'12.13.14.15'}
4. Restart Kodi.
You should now be able to access all content without any restrictions.
@learningit: Would it be feasible to include this workaround in the add-on (as an option)? Right now I have to reapply this modification any time the add-on updates.