mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Updated notification titles to sonarr
This commit is contained in:
@@ -22,7 +22,7 @@ namespace NzbDrone.Core.Notifications.Email
|
|||||||
|
|
||||||
public override void OnGrab(string message)
|
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);
|
var body = String.Format("{0} sent to queue.", message);
|
||||||
|
|
||||||
_emailService.SendEmail(Settings, subject, body);
|
_emailService.SendEmail(Settings, subject, body);
|
||||||
@@ -30,7 +30,7 @@ namespace NzbDrone.Core.Notifications.Email
|
|||||||
|
|
||||||
public override void OnDownload(DownloadMessage message)
|
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);
|
var body = String.Format("{0} Downloaded and sorted.", message.Message);
|
||||||
|
|
||||||
_emailService.SendEmail(Settings, subject, body);
|
_emailService.SendEmail(Settings, subject, body);
|
||||||
|
@@ -21,13 +21,13 @@ namespace NzbDrone.Core.Notifications.Plex
|
|||||||
|
|
||||||
public override void OnGrab(string message)
|
public override void OnGrab(string message)
|
||||||
{
|
{
|
||||||
const string header = "NzbDrone [TV] - Grabbed";
|
const string header = "Sonarr [TV] - Grabbed";
|
||||||
_plexService.Notify(Settings, header, message);
|
_plexService.Notify(Settings, header, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnDownload(DownloadMessage 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);
|
_plexService.Notify(Settings, header, message.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -21,14 +21,14 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
|||||||
|
|
||||||
public override void OnGrab(string message)
|
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);
|
_proxy.SendNotification(title, message, Settings.ApiKey, Settings.DeviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnDownload(DownloadMessage message)
|
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);
|
_proxy.SendNotification(title, message.Message, Settings.ApiKey, Settings.DeviceId);
|
||||||
}
|
}
|
||||||
|
@@ -22,7 +22,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||||||
|
|
||||||
public override void OnGrab(string message)
|
public override void OnGrab(string message)
|
||||||
{
|
{
|
||||||
const string header = "NzbDrone [TV] - Grabbed";
|
const string header = "Sonarr [TV] - Grabbed";
|
||||||
|
|
||||||
if (Settings.Notify)
|
if (Settings.Notify)
|
||||||
{
|
{
|
||||||
@@ -32,7 +32,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||||||
|
|
||||||
public override void OnDownload(DownloadMessage message)
|
public override void OnDownload(DownloadMessage message)
|
||||||
{
|
{
|
||||||
const string header = "NzbDrone [TV] - Downloaded";
|
const string header = "Sonarr [TV] - Downloaded";
|
||||||
|
|
||||||
if (Settings.Notify)
|
if (Settings.Notify)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user