1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Update boxcar2.py

This change adds a detailed push notification to Boxcar2 and also changes the sound of the notification.
(tested, works)
thanks

Sorry for the duplication.
This commit is contained in:
vzoltan 2014-05-12 17:23:38 +02:00
parent c761f32c85
commit 331939a229

View File

@ -52,9 +52,9 @@ class Boxcar2Notifier:
data = urllib.urlencode({
'user_credentials': accesstoken,
'notification[title]': "SickRage : " + title,
'notification[title]': "SickRage : " + title + ' ' + msg,
'notification[long_message]': msg,
'notification[sound]': "bird-1"
'notification[sound]': "success"
})
# send the request to boxcar2