Merge pull request #3051 from bazbjzy/develop
Added custom sounds ability to Pushover Advanced Settings
This commit is contained in:
@@ -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,11 @@ 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.'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user