mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
add OS and Python version logging
This commit is contained in:
parent
a8452d2e81
commit
774700bdc8
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ import sys
|
||||||
import time
|
import time
|
||||||
import _strptime # Workaround for threads using datetime: _striptime is locked
|
import _strptime # Workaround for threads using datetime: _striptime is locked
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
import platform
|
||||||
|
|
||||||
import xbmc
|
import xbmc
|
||||||
|
|
||||||
|
@ -164,6 +165,8 @@ class Service(object):
|
||||||
|
|
||||||
ga = GoogleAnalytics()
|
ga = GoogleAnalytics()
|
||||||
ga.sendEventData("Application", "Startup", serverId)
|
ga.sendEventData("Application", "Startup", serverId)
|
||||||
|
ga.sendEventData("Version", "OS", platform.platform())
|
||||||
|
ga.sendEventData("Version", "Python", platform.python_version())
|
||||||
|
|
||||||
# Start up events
|
# Start up events
|
||||||
self.warn_auth = True
|
self.warn_auth = True
|
||||||
|
|
Loading…
Reference in a new issue