mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
remove the user id and user agent
This commit is contained in:
parent
8f8a9d1b95
commit
58e29e6e41
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class GoogleAnalytics():
|
|||
client_info = clientinfo.ClientInfo()
|
||||
self.version = client_info.get_version()
|
||||
self.device_id = client_info.get_device_id()
|
||||
self.device_name = client_info.get_device_name() + "-" + client_info.get_platform()
|
||||
self.userAgent = "Emby4Kodi/" + self.version + " (" + client_info.get_platform() + ")"
|
||||
|
||||
# Use set user name
|
||||
self.user_name = settings('username') or settings('connectUsername') or 'None'
|
||||
|
@ -71,9 +71,9 @@ class GoogleAnalytics():
|
|||
#data['aiid'] = '1.1' # App installer ID
|
||||
|
||||
data['cid'] = self.device_id # Client ID
|
||||
data['uid'] = self.user_name # User ID
|
||||
#data['uid'] = self.user_name # User ID
|
||||
|
||||
data['ua'] = self.device_name # user agent string
|
||||
#data['ua'] = self.userAgent # user agent string
|
||||
|
||||
data['t'] = 'event' # action type
|
||||
data['ec'] = eventCategory # Event Category
|
||||
|
|
Loading…
Reference in a new issue