mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Notifications can be tested
Notification ImplementationType was added for showing in UI (Humanized/Title cased of Implementation)
This commit is contained in:
parent
1f4cf0034e
commit
8cac7ed1cd
34 changed files with 418 additions and 328 deletions
|
@ -7,9 +7,9 @@ namespace NzbDrone.Core.Notifications.Growl
|
|||
{
|
||||
public class Growl : NotificationBase<GrowlSettings>
|
||||
{
|
||||
private readonly GrowlProvider _growlProvider;
|
||||
private readonly IGrowlService _growlProvider;
|
||||
|
||||
public Growl(GrowlProvider growlProvider)
|
||||
public Growl(IGrowlService growlProvider)
|
||||
{
|
||||
_growlProvider = growlProvider;
|
||||
}
|
||||
|
@ -19,6 +19,11 @@ namespace NzbDrone.Core.Notifications.Growl
|
|||
get { return "Growl"; }
|
||||
}
|
||||
|
||||
public override string ImplementationName
|
||||
{
|
||||
get { return "Growl"; }
|
||||
}
|
||||
|
||||
public override void OnGrab(string message)
|
||||
{
|
||||
const string title = "Episode Grabbed";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue