Simpler notifications

This commit is contained in:
Ruud
2011-08-30 13:41:45 +02:00
parent 0dc68c2839
commit 4e5a7c22a4
13 changed files with 25 additions and 47 deletions
@@ -7,10 +7,7 @@ log = CPLog(__name__)
class NotifyMyAndroid(Notification):
listen_to = ['movie.downloaded', 'movie.snatched']
def notify(self, message = '', data = {}, type = None):
if self.dontNotify(type): return
def notify(self, message = '', data = {}):
nma = pynma.PyNMA()
keys = self.conf('api_key').split(',')