From ad96be8fa78c7d3f947d30c5ae750176ab97d339 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 28 May 2014 10:25:53 -0400 Subject: add device id to reporting --- .../EntryPoints/UsageEntryPoint.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs') diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs index 5f5d5d9012..98b9b2ae91 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs @@ -45,13 +45,15 @@ namespace MediaBrowser.Server.Implementations.EntryPoints var session = e.SessionInfo; if (!string.IsNullOrEmpty(session.Client) && - !string.IsNullOrEmpty(session.DeviceName)) + !string.IsNullOrEmpty(session.DeviceName) && + !string.IsNullOrEmpty(session.DeviceId)) { var keys = new List - { - session.Client, - session.DeviceName - }; + { + session.Client, + session.DeviceName, + session.DeviceId + }; if (!string.IsNullOrEmpty(session.DeviceVersion)) { @@ -88,7 +90,8 @@ namespace MediaBrowser.Server.Implementations.EntryPoints { AppName = session.Client, AppVersion = session.ApplicationVersion, - DeviceVersion = session.DeviceVersion + DeviceVersion = session.DeviceVersion, + DeviceId = session.DeviceId }; if (string.IsNullOrEmpty(info.DeviceVersion)) -- cgit v1.2.3