aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-06-11 18:05:07 -0400
committerGitHub <noreply@github.com>2017-06-11 18:05:07 -0400
commite0c907cc6009408157d42531afab4c089c2e2871 (patch)
tree069efdd6b11b3dd81e7bc6c191497114374f0577 /Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
parent9ee58d399cde4ccec9ea10c60c1a508a353b7836 (diff)
parente9d2fb13e06a93336b6b16d03b66d3390a762c40 (diff)
Merge pull request #2702 from MediaBrowser/beta
Beta
Diffstat (limited to 'Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs')
-rw-r--r--Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
index d3b2ef7ef..567f139fd 100644
--- a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
+++ b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
@@ -123,7 +123,7 @@ namespace Emby.Server.Implementations.Activity
return;
}
- if (item.IsThemeMedia)
+ if (e.Item != null && e.Item.IsThemeMedia)
{
// Don't report theme song or local trailer playback
return;
@@ -155,7 +155,7 @@ namespace Emby.Server.Implementations.Activity
return;
}
- if (item.IsThemeMedia)
+ if (e.Item != null && e.Item.IsThemeMedia)
{
// Don't report theme song or local trailer playback
return;