From 19aacd4fff45245bcab35c9d7b90f96bc343f870 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 11 Apr 2018 22:59:51 -0400 Subject: [PATCH] Added: Plex OnAlbumDownloaded handlers. --- src/NzbDrone.Core/Notifications/Plex/PlexClient.cs | 4 ++++ src/NzbDrone.Core/Notifications/Plex/PlexServer.cs | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs b/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs index f300ed2a6..c29a73a84 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs @@ -26,6 +26,10 @@ namespace NzbDrone.Core.Notifications.Plex _plexClientService.Notify(Settings, TRACK_DOWNLOADED_TITLE_BRANDED, message.Message); } + public override void OnAlbumDownload(AlbumDownloadMessage message) + { + _plexClientService.Notify(Settings, ALBUM_DOWNLOADED_TITLE_BRANDED, message.Message); + } public override ValidationResult Test() { diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs index 356221e78..b57e63c58 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs @@ -22,6 +22,11 @@ namespace NzbDrone.Core.Notifications.Plex UpdateIfEnabled(message.Artist); } + public override void OnAlbumDownload(AlbumDownloadMessage message) + { + UpdateIfEnabled(message.Artist); + } + public override void OnRename(Artist artist) { UpdateIfEnabled(artist);