From c9cc36fbc6242046a3b174b87dc3f9bf62a2bb42 Mon Sep 17 00:00:00 2001 From: rpluto Date: Wed, 7 May 2014 19:44:43 +0100 Subject: [PATCH] Add SickRage to notification title --- sickbeard/notifiers/boxcar2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sickbeard/notifiers/boxcar2.py b/sickbeard/notifiers/boxcar2.py index 5be0220e..b41a9d1f 100755 --- a/sickbeard/notifiers/boxcar2.py +++ b/sickbeard/notifiers/boxcar2.py @@ -31,7 +31,7 @@ API_URL = "https://new.boxcar.io/api/notifications" class Boxcar2Notifier: - def test_notify(self, accesstoken, title="Test"): + def test_notify(self, accesstoken, title="SickRage : Test"): return self._sendBoxcar2("This is a test notification from SickBeard", title, accesstoken) def _sendBoxcar2(self, msg, title, accesstoken): @@ -46,12 +46,13 @@ class Boxcar2Notifier: """ # build up the URL and parameters + #more info goes here - https://boxcar.uservoice.com/knowledgebase/articles/306788-how-to-send-your-boxcar-account-a-notification msg = msg.strip() curUrl = API_URL data = urllib.urlencode({ 'user_credentials': accesstoken, - 'notification[title]': title, + 'notification[title]': "SickRage : " + title, 'notification[long_message]': msg, 'notification[sound]': "bird-1" })