New: Health Check Failure Notifications (#609)

* New: Health Check Failure Notifications

Fixes #295

* New: OnDownloadFailure and OnImportFailure Notification

* New: On Retag notifications

* Fixed: XBMC notification test

* New: Discord Notifications

Closes #1511

* On Download to On Import on card

* Remove OnDownload, Rename OnAlbumDownload -> OnReleaseImported

* Fixed: Webhook OnReleaseImport notification

* Respect OnUpgrade and fix missing schema items for frontend

* New: Simplify Notification Modal UI

* Fixed: PlexHomeTheater OnReleaseImport notification
This commit is contained in:
Qstick
2019-03-21 20:47:54 -04:00
committed by GitHub
parent 4d8bcd12e3
commit d4d9146599
52 changed files with 1262 additions and 427 deletions
@@ -28,7 +28,7 @@ namespace NzbDrone.Core.Notifications.Subsonic
Notify(Settings, header, grabMessage.Message);
}
public override void OnAlbumDownload(AlbumDownloadMessage message)
public override void OnReleaseImport(AlbumDownloadMessage message)
{
const string header = "Lidarr - Downloaded";
@@ -36,19 +36,21 @@ namespace NzbDrone.Core.Notifications.Subsonic
Update();
}
public override void OnDownload(TrackDownloadMessage message)
{
const string header = "Lidarr - Downloaded";
Notify(Settings, header, message.Message);
}
public override void OnRename(Artist artist)
{
Update();
}
public override void OnHealthIssue(HealthCheck.HealthCheck healthCheck)
{
Notify(Settings, HEALTH_ISSUE_TITLE_BRANDED, healthCheck.Message);
}
public override void OnTrackRetag(TrackRetagMessage message)
{
Notify(Settings, TRACK_RETAGGED_TITLE_BRANDED, message.Message);
}
public override string Name => "Subsonic";
public override ValidationResult Test()