From 0b693bba4e31fc2ba2489dc1cc1440d796f4887c Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 19 May 2013 00:30:56 +0200 Subject: [PATCH] Add "on snatch" options to XBMC & Plex notifications fix #1379 --- couchpotato/core/notifications/plex/__init__.py | 7 +++++++ couchpotato/core/notifications/xbmc/__init__.py | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/couchpotato/core/notifications/plex/__init__.py b/couchpotato/core/notifications/plex/__init__.py index 8d89a40f..c00ea6d4 100644 --- a/couchpotato/core/notifications/plex/__init__.py +++ b/couchpotato/core/notifications/plex/__init__.py @@ -22,6 +22,13 @@ config = [{ 'description': 'Default should be on localhost', 'advanced': True, }, + { + 'name': 'on_snatch', + 'default': 0, + 'type': 'bool', + 'advanced': True, + 'description': 'Also send message when movie is snatched.', + }, ], } ], diff --git a/couchpotato/core/notifications/xbmc/__init__.py b/couchpotato/core/notifications/xbmc/__init__.py index 0753c82a..a4808458 100644 --- a/couchpotato/core/notifications/xbmc/__init__.py +++ b/couchpotato/core/notifications/xbmc/__init__.py @@ -31,6 +31,13 @@ config = [{ 'default': '', 'type': 'password', }, + { + 'name': 'on_snatch', + 'default': 0, + 'type': 'bool', + 'advanced': True, + 'description': 'Also send message when movie is snatched.', + }, ], } ],