aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/EntryPoints
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-28 11:05:28 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-28 11:05:28 -0400
commit0f4c28c120751e1cf6e0562ef0445c7fa46cf0a4 (patch)
tree3688a8a031542fee4e31a52ee20df1057c69eb43 /MediaBrowser.Server.Implementations/EntryPoints
parent20507355eb045bc8337ca4697e3a8b906feb82be (diff)
expose more dlna profile properties
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints')
-rw-r--r--MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs7
1 files changed, 7 insertions, 0 deletions
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),