|
|
|
@ -46,6 +46,32 @@ namespace NzbDrone.Core.Notifications.Emby
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnEpisodeFileDelete(EpisodeDeleteMessage deleteMessage)
|
|
|
|
|
{
|
|
|
|
|
if (Settings.Notify)
|
|
|
|
|
{
|
|
|
|
|
_mediaBrowserService.Notify(Settings, EPISODE_DELETED_TITLE_BRANDED, deleteMessage.Message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Settings.UpdateLibrary)
|
|
|
|
|
{
|
|
|
|
|
_mediaBrowserService.Update(Settings, deleteMessage.Series, "Deleted");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnSeriesDelete(SeriesDeleteMessage deleteMessage)
|
|
|
|
|
{
|
|
|
|
|
if (Settings.Notify)
|
|
|
|
|
{
|
|
|
|
|
_mediaBrowserService.Notify(Settings, SERIES_DELETED_TITLE_BRANDED, deleteMessage.Message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (Settings.UpdateLibrary)
|
|
|
|
|
{
|
|
|
|
|
_mediaBrowserService.Update(Settings, deleteMessage.Series, "Deleted");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnHealthIssue(HealthCheck.HealthCheck message)
|
|
|
|
|
{
|
|
|
|
|
if (Settings.Notify)
|
|
|
|
|