diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-25 22:30:52 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-25 22:30:52 -0400 |
| commit | 6780e146a0bbea7065f478f957642a8ce50a6643 (patch) | |
| tree | 32ec6e91597e6202049e00e712c7162f400601d2 /MediaBrowser.Server.Implementations/EntryPoints/Notifications | |
| parent | 73082a0449bcab1a9ed2932a8fe8af81dd88febc (diff) | |
remember display mirroring
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/Notifications')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs index 6a0bb780c4..065b5e95dc 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs @@ -195,19 +195,17 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications var user = e.Users.FirstOrDefault(); var item = e.MediaInfo; + var themeMedia = item as IThemeMedia; - if (e.Item != null && e.Item.Parent == null) + if (themeMedia != null && themeMedia.IsThemeMedia) { // 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 = type, - - ExcludeUserIds = e.Users.Select(i => i.Id.ToString("N")).ToList() + NotificationType = type }; notification.Variables["ItemName"] = item.Name; |
