POE-Component-IRC-Plugin-RTorrentStatus

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

         Torrent_log => '/tmp/torrentlog',
         Channels    => ['#foobar'],
     ));

DESCRIPTION
    POE::Component::IRC::Plugin::RTorrentStatus is a POE::Component::IRC
    plugin. It reads a log file generated by the included irctor-queue
    program and posts messages to IRC describing the events. See the
    documentation for irctor-queue on how to set it up with RTorrent.

     -MyBot:#channel- Enqueued: ubuntu-9.10-desktop-i386.iso (700MB, by hinrik)
     -MyBot:#channel- Aborted: ubuntu-9.10-desktop-i386.iso (10% done, ratio: 0.05, up: 35MB)
     -MyBot:#channel- Enqueued: ubuntu-9.10-desktop-amd64.iso (700MB, by hinrik)
     -MyBot:#channel- Finished: ubuntu-9.10-desktop-amd64.iso in 20 minutes (597kB/s); Checking hash...
     -MyBot:#channel- Hashed: ubuntu-9.10-desktop-amd64.iso in 10 seconds
     -MyBot:#channel- Removed: ubuntu-9.10-desktop-amd64.iso (ratio: 2.00, up: 1400MB)

    And if you've got unraring enabled:

     -MyBot:#channel- Enqueued: foobar (100MB, by hinrik)
     -MyBot:#channel- Finished: foobar in 10 minutes (171kB/s); Checking hash...
     -MyBot:#channel- Hashed: foobar in 5 seconds; 1 archive to unrar
     -MyBot:#channel- Unrared: foobar in 5 seconds (1 archive)
     -MyBot:#channel- Removed: foobar (ratio: 2.00, uploaded: 200MB)

METHODS

lib/POE/Component/IRC/Plugin/RTorrentStatus.pm  view on Meta::CPAN

 ));

=head1 DESCRIPTION

POE::Component::IRC::Plugin::RTorrentStatus is a
L<POE::Component::IRC|POE::Component::IRC> plugin. It reads a log file
generated by the included L<irctor-queue> program and posts messages to
IRC describing the events. See the documentation for L<irctor-queue>
on how to set it up with RTorrent.

 -MyBot:#channel- Enqueued: ubuntu-9.10-desktop-i386.iso (700MB, by hinrik)
 -MyBot:#channel- Aborted: ubuntu-9.10-desktop-i386.iso (10% done, ratio: 0.05, up: 35MB)
 -MyBot:#channel- Enqueued: ubuntu-9.10-desktop-amd64.iso (700MB, by hinrik)
 -MyBot:#channel- Finished: ubuntu-9.10-desktop-amd64.iso in 20 minutes (597kB/s); Checking hash...
 -MyBot:#channel- Hashed: ubuntu-9.10-desktop-amd64.iso in 10 seconds
 -MyBot:#channel- Removed: ubuntu-9.10-desktop-amd64.iso (ratio: 2.00, up: 1400MB)

And if you've got unraring enabled:

 -MyBot:#channel- Enqueued: foobar (100MB, by hinrik)
 -MyBot:#channel- Finished: foobar in 10 minutes (171kB/s); Checking hash...
 -MyBot:#channel- Hashed: foobar in 5 seconds; 1 archive to unrar
 -MyBot:#channel- Unrared: foobar in 5 seconds (1 archive)
 -MyBot:#channel- Removed: foobar (ratio: 2.00, uploaded: 200MB)

=head1 METHODS



( run in 0.386 second using v1.01-cache-2.11-cpan-299005ec8e3 )