From e8dcf5ee0208d2f086d2b73ec37a095c9a23c030 Mon Sep 17 00:00:00 2001 From: bazbjzy Date: Mon, 31 Mar 2014 17:59:14 -0700 Subject: [PATCH] Added ability to configure Pushover custom sounds. --- couchpotato/core/notifications/pushover.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/couchpotato/core/notifications/pushover.py b/couchpotato/core/notifications/pushover.py index 1925f729..34c0cb83 100644 --- a/couchpotato/core/notifications/pushover.py +++ b/couchpotato/core/notifications/pushover.py @@ -25,6 +25,7 @@ class Pushover(Notification): 'token': self.app_token, 'message': toUnicode(message), 'priority': self.conf('priority'), + 'sound': self.conf('sound'), } if data and data.get('identifier'): @@ -82,6 +83,12 @@ config = [{ 'advanced': True, 'description': 'Also send message when movie is snatched.', }, + { + 'name': 'sound', + 'advanced': True, + 'description': 'Define custom sound for Pushover alert.' + }, + ], } ],