XBMC User-Agent for HTTP requests
#1
I was wondering if it is possible to get the value of the XBMC User-Agent from within an Add-On? All none-add-on requests how:

Code:
User-Agent: XBMC/13.0-ALPHA3 Git:20130430-e8fe5cf (Windows NT 6.1;WOW64;Win64;x64; http://www.xbmc.org)

but requests from a Python add-on using urllib2 does not have this value set. Now it's not that hard to actually set a user-agent but I would really like to use the original value from XBMC (with build, platform etc). Is that possible?
Reply
#2
AFAIK, you can't, the closest you could get is manually testing the platform and set the user agent for urllib2 manually
Reply
#3
Ok, is there a list of possible User-Agents that XBMC has?
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC User-Agent for HTTP requests0