Updated notification titles to sonarr
This commit is contained in:
parent
eb5de4a3fa
commit
c0a46e04b8
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Notifications.Email
|
|||
|
||||
public override void OnGrab(string message)
|
||||
{
|
||||
const string subject = "NzbDrone [TV] - Grabbed";
|
||||
const string subject = "Sonarr [TV] - Grabbed";
|
||||
var body = String.Format("{0} sent to queue.", message);
|
||||
|
||||
_emailService.SendEmail(Settings, subject, body);
|
||||
|
@ -30,7 +30,7 @@ namespace NzbDrone.Core.Notifications.Email
|
|||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
const string subject = "NzbDrone [TV] - Downloaded";
|
||||
const string subject = "Sonarr [TV] - Downloaded";
|
||||
var body = String.Format("{0} Downloaded and sorted.", message.Message);
|
||||
|
||||
_emailService.SendEmail(Settings, subject, body);
|
||||
|
|
|
@ -21,13 +21,13 @@ namespace NzbDrone.Core.Notifications.Plex
|
|||
|
||||
public override void OnGrab(string message)
|
||||
{
|
||||
const string header = "NzbDrone [TV] - Grabbed";
|
||||
const string header = "Sonarr [TV] - Grabbed";
|
||||
_plexService.Notify(Settings, header, message);
|
||||
}
|
||||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
const string header = "NzbDrone [TV] - Downloaded";
|
||||
const string header = "Sonarr [TV] - Downloaded";
|
||||
_plexService.Notify(Settings, header, message.Message);
|
||||
}
|
||||
|
||||
|
|
|
@ -21,14 +21,14 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
|||
|
||||
public override void OnGrab(string message)
|
||||
{
|
||||
const string title = "NzbDrone - Episode Grabbed";
|
||||
const string title = "Sonarr - Episode Grabbed";
|
||||
|
||||
_proxy.SendNotification(title, message, Settings.ApiKey, Settings.DeviceId);
|
||||
}
|
||||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
const string title = "NzbDrone - Episode Downloaded";
|
||||
const string title = "Sonarr - Episode Downloaded";
|
||||
|
||||
_proxy.SendNotification(title, message.Message, Settings.ApiKey, Settings.DeviceId);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
|
||||
public override void OnGrab(string message)
|
||||
{
|
||||
const string header = "NzbDrone [TV] - Grabbed";
|
||||
const string header = "Sonarr [TV] - Grabbed";
|
||||
|
||||
if (Settings.Notify)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
const string header = "NzbDrone [TV] - Downloaded";
|
||||
const string header = "Sonarr [TV] - Downloaded";
|
||||
|
||||
if (Settings.Notify)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue