Added ability to configure Pushover custom sounds.

This commit is contained in:
bazbjzy
2014-03-31 17:59:14 -07:00
parent 95369e79a5
commit e8dcf5ee02
@@ -25,6 +25,7 @@ class Pushover(Notification):
'token': self.app_token, 'token': self.app_token,
'message': toUnicode(message), 'message': toUnicode(message),
'priority': self.conf('priority'), 'priority': self.conf('priority'),
'sound': self.conf('sound'),
} }
if data and data.get('identifier'): if data and data.get('identifier'):
@@ -82,6 +83,12 @@ config = [{
'advanced': True, 'advanced': True,
'description': 'Also send message when movie is snatched.', 'description': 'Also send message when movie is snatched.',
}, },
{
'name': 'sound',
'advanced': True,
'description': 'Define <a href="https://pushover.net/api%23sounds" target="_blank">custom sound</a> for Pushover alert.'
},
], ],
} }
], ],