From 0f4c28c120751e1cf6e0562ef0445c7fa46cf0a4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 28 Apr 2014 11:05:28 -0400 Subject: expose more dlna profile properties --- .../EntryPoints/Notifications/Notifier.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Server.Implementations/EntryPoints/Notifications') diff --git a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs index 217b068bf..9aa28809f 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs @@ -147,6 +147,13 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications var item = e.MediaInfo; + if (e.Item !=null && e.Item.Parent == null) + { + // Don't report theme song or local trailer playback + // TODO: This will also cause movie specials to not be reported + return; + } + var notification = new NotificationRequest { NotificationType = GetPlaybackNotificationType(item.MediaType), -- cgit v1.2.3