diff --git a/src/NzbDrone.Core/Notifications/Growl/Growl.cs b/src/NzbDrone.Core/Notifications/Growl/Growl.cs index a6ada196a..3f6ff6f9f 100644 --- a/src/NzbDrone.Core/Notifications/Growl/Growl.cs +++ b/src/NzbDrone.Core/Notifications/Growl/Growl.cs @@ -25,12 +25,12 @@ namespace NzbDrone.Core.Notifications.Growl public override void OnDownload(TrackDownloadMessage message) { - _growlService.SendNotification(TRACK_DOWNLOADED_TITLE, message.Message, "DOWNLOAD", Settings.Host, Settings.Port, Settings.Password); + _growlService.SendNotification(TRACK_DOWNLOADED_TITLE, message.Message, "TRACKDOWNLOAD", Settings.Host, Settings.Port, Settings.Password); } public override void OnAlbumDownload(AlbumDownloadMessage message) { - _growlService.SendNotification(ALBUM_DOWNLOADED_TITLE, message.Message, "DOWNLOAD", Settings.Host, Settings.Port, Settings.Password); + _growlService.SendNotification(ALBUM_DOWNLOADED_TITLE, message.Message, "ALBUMDOWNLOAD", Settings.Host, Settings.Port, Settings.Password); } public override ValidationResult Test() diff --git a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs index 57da7a0f3..fa2a6971e 100644 --- a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs +++ b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs @@ -1,4 +1,4 @@ -using FluentValidation.Results; +using FluentValidation.Results; using Growl.Connector; using Growl.CoreLibrary; using NzbDrone.Common.Extensions; @@ -20,9 +20,8 @@ namespace NzbDrone.Core.Notifications.Growl public class GrowlService : IGrowlService { private readonly Logger _logger; - - //TODO: Change this to Lidarr, but it is a breaking change (v3) - private readonly Application _growlApplication = new Application("NzbDrone"); + + private readonly Application _growlApplication = new Application("Lidarr"); private readonly NotificationType[] _notificationTypes; private class GrowlRequestState @@ -133,8 +132,9 @@ namespace NzbDrone.Core.Notifications.Growl { var notificationTypes = new List(); notificationTypes.Add(new NotificationType("TEST", "Test")); - notificationTypes.Add(new NotificationType("GRAB", "Episode Grabbed")); - notificationTypes.Add(new NotificationType("DOWNLOAD", "Episode Complete")); + notificationTypes.Add(new NotificationType("GRAB", "Album Grabbed")); + notificationTypes.Add(new NotificationType("TRACKDOWNLOAD", "Track Complete")); + notificationTypes.Add(new NotificationType("ALBUMDOWNLOAD", "Album Complete")); return notificationTypes.ToArray(); }