mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
looks like platform is throwing an exception on some systems so catch it
This commit is contained in:
parent
8669f41a2d
commit
5cc3847e47
2 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="2.3.10"
|
version="2.3.11"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.19.0"/>
|
<import addon="xbmc.python" version="2.19.0"/>
|
||||||
|
|
|
@ -165,8 +165,11 @@ class Service(object):
|
||||||
|
|
||||||
ga = GoogleAnalytics()
|
ga = GoogleAnalytics()
|
||||||
ga.sendEventData("Application", "Startup", serverId)
|
ga.sendEventData("Application", "Startup", serverId)
|
||||||
ga.sendEventData("Version", "OS", platform.platform())
|
try:
|
||||||
ga.sendEventData("Version", "Python", platform.python_version())
|
ga.sendEventData("Version", "OS", platform.platform())
|
||||||
|
ga.sendEventData("Version", "Python", platform.python_version())
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
# Start up events
|
# Start up events
|
||||||
self.warn_auth = True
|
self.warn_auth = True
|
||||||
|
|
Loading…
Reference in a new issue