mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
Initial Notification Updates and Support (#401)
* Bare bones of notifications working. * Add MovieDownload event handler To allow Download notificaitons * Update pushover text to indicate movie * Initial Notification Support On Download and On Grab notifications should work. * Telegram Notification Text * Update Custom Script For Movies * Update PP script WiKi page Also added wiki page to Radarr wiki.
This commit is contained in:
committed by
Leonardo Galli
parent
1ad4006819
commit
9e7cb708bf
@@ -18,7 +18,7 @@ namespace NzbDrone.Core.Notifications.Email
|
||||
|
||||
public override void OnGrab(GrabMessage grabMessage)
|
||||
{
|
||||
const string subject = "Radarr [TV] - Grabbed";
|
||||
const string subject = "Radarr [Movie] - Grabbed";
|
||||
var body = string.Format("{0} sent to queue.", grabMessage.Message);
|
||||
|
||||
_emailService.SendEmail(Settings, subject, body);
|
||||
@@ -26,12 +26,16 @@ namespace NzbDrone.Core.Notifications.Email
|
||||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
const string subject = "Radarr [TV] - Downloaded";
|
||||
const string subject = "Radarr [Movie] - Downloaded";
|
||||
var body = string.Format("{0} Downloaded and sorted.", message.Message);
|
||||
|
||||
_emailService.SendEmail(Settings, subject, body);
|
||||
}
|
||||
|
||||
|
||||
public override void OnMovieRename(Movie movie)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnRename(Series series)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user