diff --git a/plugins/Pushover/Pushover.py b/plugins/Pushover/Pushover.py index 051445d..4d65785 100644 --- a/plugins/Pushover/Pushover.py +++ b/plugins/Pushover/Pushover.py @@ -128,6 +128,10 @@ def run(typ, freq, data): # replace the wildcards message = wildcardHandler.replaceWildcards(message, data) title = wildcardHandler.replaceWildcards(title, data) + sound = globalVars.config.get("Pushover", "sound") + # set Default-Sound + if not sound: + sound = "pushover" # start the connection conn = httplib.HTTPSConnection("api.pushover.net:443") @@ -138,6 +142,7 @@ def run(typ, freq, data): "message": message, "html": globalVars.config.get("Pushover", "html"), "title": title, + "sound": sound, "priority": priority, "retry": globalVars.config.get("Pushover", "retry"), "expire": globalVars.config.get("Pushover", "expire")