aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-28 10:25:53 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-28 10:25:53 -0400
commitad96be8fa78c7d3f947d30c5ae750176ab97d339 (patch)
tree3fe4f37d3d0e1600f324a7f3197c1fa464ea5fc3 /MediaBrowser.Server.Implementations/EntryPoints
parent01f4ee7fbbf802da17ec72e6cf1a4134a41800b9 (diff)
add device id to reporting
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UsageEntryPoint.cs
index 5f5d5d901..98b9b2ae9 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<string>
- {
- 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))