|
|
@ -795,8 +795,8 @@ def callback_notify(data):
|
|
|
|
if cfg.notifications.verbose:
|
|
|
|
if cfg.notifications.verbose:
|
|
|
|
notify.send(
|
|
|
|
notify.send(
|
|
|
|
message="Added \'%s\' show: \'%s (%s)\'" % (data['list_type'].capitalize(), data['show']['title'],
|
|
|
|
message="Added \'%s\' show: \'%s (%s)\'" % (data['list_type'].capitalize(), data['show']['title'],
|
|
|
|
str(data['movie']['year'])
|
|
|
|
str(data['show']['year'])
|
|
|
|
if data['movie']['year'] else '????'))
|
|
|
|
if data['show']['year'] else '????'))
|
|
|
|
return
|
|
|
|
return
|
|
|
|
elif data['event'] == 'abort':
|
|
|
|
elif data['event'] == 'abort':
|
|
|
|
notify.send(message="Aborted adding Trakt \'%s\' %s due to: %s" % (data['list_type'].capitalize(), data['type'],
|
|
|
|
notify.send(message="Aborted adding Trakt \'%s\' %s due to: %s" % (data['list_type'].capitalize(), data['type'],
|
|
|
|