From 1524ae0e3aaae979f3334f7eda3434e570e7a7c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 11 Jan 2013 07:21:58 +0100 Subject: [PATCH] Add example for Pirate Bay episode watcher. --- .../chains/thepiratebay-episode-example.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/main/resources/chains/thepiratebay-episode-example.json diff --git a/src/main/resources/chains/thepiratebay-episode-example.json b/src/main/resources/chains/thepiratebay-episode-example.json new file mode 100644 index 0000000..50a5c08 --- /dev/null +++ b/src/main/resources/chains/thepiratebay-episode-example.json @@ -0,0 +1,36 @@ +{ + "enabled": false, + "name": "Pirate Bay Episode Reaction", + + "watcher": + { + "class": "PirateBayEpisodeWatcher", + "parameters": [ + { + "name": "searchTerms", + "value": "Some Funny Stuff" + } + ] + }, + + "action": + { + "class": "EmailAction", + "parameters": [ + { + "name": "smtpHostname", + "value": "smtp" + }, + { + "name": "sender", + "value": "rhynodge@rhynodge.net" + }, + { + "name": "recipient", + "value": "recipient@recipient.de" + } + ] + }, + + "updateInterval": 3600 +} -- 2.7.4