Add example for Pirate Bay episode watcher.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Jan 2013 06:21:58 +0000 (07:21 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Jan 2013 06:21:58 +0000 (07:21 +0100)
src/main/resources/chains/thepiratebay-episode-example.json [new file with mode: 0644]

diff --git a/src/main/resources/chains/thepiratebay-episode-example.json b/src/main/resources/chains/thepiratebay-episode-example.json
new file mode 100644 (file)
index 0000000..50a5c08
--- /dev/null
@@ -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
+}