Added ability to set custom notification sound for Pushover

This commit is contained in:
Brian Charbonneau 2015-10-03 22:05:27 -07:00
parent cf49f4d6bf
commit 280a5ae744
2 changed files with 13 additions and 3 deletions

View file

@ -185,6 +185,7 @@ _CONFIG_DEFINITIONS = {
'PUSHOVER_ENABLED': (int, 'Pushover', 0),
'PUSHOVER_KEYS': (str, 'Pushover', ''),
'PUSHOVER_PRIORITY': (int, 'Pushover', 0),
'PUSHOVER_SOUND': (str, 'Pushover', ''),
'PUSHOVER_ON_PLAY': (int, 'Pushover', 0),
'PUSHOVER_ON_STOP': (int, 'Pushover', 0),
'PUSHOVER_ON_PAUSE': (int, 'Pushover', 0),
@ -320,4 +321,4 @@ class Config(object):
"""
for name, value in kwargs.items():
key, definition_type, section, ini_key, default = self._define(name)
self._config[section][ini_key] = definition_type(value)
self._config[section][ini_key] = definition_type(value)