hashworks/phergie-xrel-plugin

Phergie plugin to access the xREL.to API.

v1.0.1 2015-02-08 16:40 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:34:32 UTC


README

Phergie plugin to access the xREL.to API.

Install

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~.

composer require hashworks/phergie-xrel-plugin

See Phergie documentation for more information on installing and enabling plugins.

Configuration

// dependency
new \Phergie\Irc\Plugin\React\Command\Plugin,
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \hashworks\Phergie\Plugin\xREL\Plugin(array(
    // Optional. Searches for release dirnames in all messages and applies the nfo command on them.
    'parseAllMessages' => false,
    // Optional. Limit of posts per command.
    'limit' => 5
)),

Syntax

upcoming Responds with a list of upcoming movies.
latest [[hd-]movie|[hd-]tv|game|update|console|[hd-]xxx] Responds with a list of latest releases.
hot [movie|tv|game|console] Responds with a list of latest hot releases.
nfo <dirname> Responds with a nfo link for a scene dirname.