summaryrefslogtreecommitdiff
path: root/lib/Multi
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-07-19 14:19:23 +0200
committerYorhel <git@yorhel.nl>2009-07-19 14:19:23 +0200
commitf5e5f2ce1fd955793420fd62d663d54983e7facc (patch)
tree3f03d439810a1fed7073a939c029a7e4a14aacec /lib/Multi
parent678a78d71534441d5471ed24aa8b471ba08c6664 (diff)
Notify Multi::Image via PostgreSQL for new screenshots
This finished the rewrite of Multi::Image and everything surrounding it.
Diffstat (limited to 'lib/Multi')
-rw-r--r--lib/Multi/Image.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Multi/Image.pm b/lib/Multi/Image.pm
index a1e30f37..a9ed4b9e 100644
--- a/lib/Multi/Image.pm
+++ b/lib/Multi/Image.pm
@@ -36,14 +36,14 @@ sub spawn {
sub _start {
$_[KERNEL]->alias_set('image');
$_[KERNEL]->sig(shutdown => 'shutdown');
- $_[KERNEL]->post(pg => listen => coverimage => 'cv_check');
+ $_[KERNEL]->post(pg => listen => coverimage => 'cv_check', screenshot => 'scr_check');
$_[KERNEL]->yield('cv_check');
$_[KERNEL]->yield('scr_check');
}
sub shutdown {
- $_[KERNEL]->post(pg => unlisten => 'coverimage');
+ $_[KERNEL]->post(pg => unlisten => 'coverimage', 'screenshot');
$_[KERNEL]->delay('cv_check');
$_[KERNEL]->delay('scr_check');
}