|
|
@ -215,6 +215,12 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var video = e.Item as Video;
|
|
|
|
|
|
|
|
if (video != null && video.IsThemeMedia)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var type = GetPlaybackNotificationType(item.MediaType);
|
|
|
|
var type = GetPlaybackNotificationType(item.MediaType);
|
|
|
|
|
|
|
|
|
|
|
|
SendPlaybackNotification(type, e);
|
|
|
|
SendPlaybackNotification(type, e);
|
|
|
@ -230,6 +236,12 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var video = e.Item as Video;
|
|
|
|
|
|
|
|
if (video != null && video.IsThemeMedia)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var type = GetPlaybackStoppedNotificationType(item.MediaType);
|
|
|
|
var type = GetPlaybackStoppedNotificationType(item.MediaType);
|
|
|
|
|
|
|
|
|
|
|
|
SendPlaybackNotification(type, e);
|
|
|
|
SendPlaybackNotification(type, e);
|
|
|
|