mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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 _strptime # Workaround for threads using datetime: _striptime is locked
|
||||
from datetime import datetime
|
||||
import platform
|
||||
|
||||
import xbmc
|
||||
|
||||
|
@ -164,6 +165,8 @@ class Service(object):
|
|||
|
||||
ga = GoogleAnalytics()
|
||||
ga.sendEventData("Application", "Startup", serverId)
|
||||
ga.sendEventData("Version", "OS", platform.platform())
|
||||
ga.sendEventData("Version", "Python", platform.python_version())
|
||||
|
||||
# Start up events
|
||||
self.warn_auth = True
|
||||
|
|
Loading…
Reference in a new issue