New: PushBullet messages start with NzbDrone to match other applications
This commit is contained in:
parent
9b17a3787d
commit
39ef6123b8
|
@ -176,6 +176,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
||||||
[TestCase("[Kaylith] Isshuukan Friends Specials - 01 [BD 1080p FLAC][429FD8C7].mkv", false)]
|
[TestCase("[Kaylith] Isshuukan Friends Specials - 01 [BD 1080p FLAC][429FD8C7].mkv", false)]
|
||||||
[TestCase("[Zurako] Log Horizon - 01 - The Apocalypse (BD 1080p AAC) [7AE12174].mkv", false)]
|
[TestCase("[Zurako] Log Horizon - 01 - The Apocalypse (BD 1080p AAC) [7AE12174].mkv", false)]
|
||||||
[TestCase("WEEDS.S03E01-06.DUAL.1080p.Blu-ray.AC3.-HELLYWOOD.avi", false)]
|
[TestCase("WEEDS.S03E01-06.DUAL.1080p.Blu-ray.AC3.-HELLYWOOD.avi", false)]
|
||||||
|
[TestCase("[Coalgirls]_Durarara!!_01_(1920x1080_Blu-ray_FLAC)_[8370CB8F].mkv", false)]
|
||||||
public void should_parse_bluray1080p_quality(string title, bool proper)
|
public void should_parse_bluray1080p_quality(string title, bool proper)
|
||||||
{
|
{
|
||||||
ParseAndVerifyQuality(title, Quality.Bluray1080p, proper);
|
ParseAndVerifyQuality(title, Quality.Bluray1080p, proper);
|
||||||
|
|
|
@ -21,14 +21,14 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
||||||
|
|
||||||
public override void OnGrab(string message)
|
public override void OnGrab(string message)
|
||||||
{
|
{
|
||||||
const string title = "Episode Grabbed";
|
const string title = "NzbDrone - 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 = "Episode Downloaded";
|
const string title = "NzbDrone - Episode Downloaded";
|
||||||
|
|
||||||
_proxy.SendNotification(title, message.Message, Settings.ApiKey, Settings.DeviceId);
|
_proxy.SendNotification(title, message.Message, Settings.ApiKey, Settings.DeviceId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
const string title = "Test Notification";
|
const string title = "NzbDrone - Test Notification";
|
||||||
const string body = "This is a test message from NzbDrone";
|
const string body = "This is a test message from NzbDrone";
|
||||||
|
|
||||||
SendNotification(title, body, settings.ApiKey, settings.DeviceId);
|
SendNotification(title, body, settings.ApiKey, settings.DeviceId);
|
||||||
|
|
Loading…
Reference in New Issue