POE::Filter::Slim::CLI - A POE filter for talking with SlimServer over CLI
use POE::Filter::Slim::CLI; my $filter = POE::Filter::Slim::CLI->new(); my $arrayref = $filter->get( [ $line ] ); my $arrayref2 = $filter->put( $arrayref );
POE::Filter::Slim::CLI handles all the details of SlimServer's CLI protocol. It unescapes and returns results as an arrayref. Requests sent as arrayrefs are translated into the correct escaped format.
It is a subclass of POE::Filter::Line.
Creates a new POE::Filter::Slim::CLI object. Accepts no arguments.
Parses CLI lines into arrays.
Writes array(s) of CLI requests into escaped strings.
Andy Grundman <andy@slimdevices.com>
POE
POE::Filter::Line
To install POE::Filter::Slim::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Filter::Slim::CLI
CPAN shell
perl -MCPAN -e shell install POE::Filter::Slim::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.