From 897330e6468f952ae9c722e251c42e3d4673d352 Mon Sep 17 00:00:00 2001 From: Faryn Date: Wed, 1 May 2013 19:53:50 +0300 Subject: [PATCH] Include IMDb link to movie in Pushover notifications --- couchpotato/core/notifications/pushover/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/pushover/main.py b/couchpotato/core/notifications/pushover/main.py index 8df4ed1f..c2f845b5 100644 --- a/couchpotato/core/notifications/pushover/main.py +++ b/couchpotato/core/notifications/pushover/main.py @@ -18,7 +18,9 @@ class Pushover(Notification): 'user': self.conf('user_key'), 'token': self.app_token, 'message': toUnicode(message), - 'priority': self.conf('priority') + 'priority': self.conf('priority'), + 'url': toUnicode("http://www.imdb.com/title/%s" % data['library']['identifier']) if data else "", + 'url_title': toUnicode("%s on IMDb" % data['library']['titles'][0]['title']) if data else "" } http_handler.request('POST',