mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
small change to the user agent string
This commit is contained in:
parent
5d725c9f0b
commit
99bf460bf1
1 changed files with 1 additions and 5 deletions
|
@ -39,9 +39,6 @@ class GoogleAnalytics():
|
||||||
|
|
||||||
def getUserAgentOS(self):
|
def getUserAgentOS(self):
|
||||||
|
|
||||||
return platform.system()
|
|
||||||
|
|
||||||
'''
|
|
||||||
if xbmc.getCondVisibility('system.platform.osx'):
|
if xbmc.getCondVisibility('system.platform.osx'):
|
||||||
return "OSX"
|
return "OSX"
|
||||||
elif xbmc.getCondVisibility('system.platform.ios'):
|
elif xbmc.getCondVisibility('system.platform.ios'):
|
||||||
|
@ -55,8 +52,7 @@ class GoogleAnalytics():
|
||||||
elif xbmc.getCondVisibility('system.platform.linux'):
|
elif xbmc.getCondVisibility('system.platform.linux'):
|
||||||
return "Linux"
|
return "Linux"
|
||||||
else:
|
else:
|
||||||
return platform.system()
|
return "Other"
|
||||||
'''
|
|
||||||
|
|
||||||
def formatException(self):
|
def formatException(self):
|
||||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||||
|
|
Loading…
Reference in a new issue