Dancer-Plugin-MPD
view release on metacpan or search on metacpan
NAME
Dancer::Plugin::MPD - easy connection to MPD from Dancer apps
DESCRIPTION
Provides an easy way to connect to MPD (www.musicpd.org) from a Dancer
app. Handles obtaining the connection, making sure the connection is
still alive, and reconnecting if not.
SYNOPSIS
In your Dancer app, calling the `mpd' keyword will get you an MPD
connection.
use Dancer::Plugin::MPD;
my $current_song = mpd->current;
mpd->next;
CONFIGURATION
lib/Dancer/Plugin/MPD.pm view on Meta::CPAN
register_plugin;
=head1 NAME
Dancer::Plugin::MPD - easy connection to MPD from Dancer apps
=head1 DESCRIPTION
Provides an easy way to connect to MPD (L<www.musicpd.org>) from a L<Dancer>
app. Handles obtaining the connection, making sure the connection is still
alive, and reconnecting if not.
=head1 SYNOPSIS
In your L<Dancer> app, calling the C<mpd> keyword will get you an MPD
connection.
use Dancer::Plugin::MPD;
my $current_song = mpd->current;
( run in 0.609 second using v1.01-cache-2.11-cpan-39bf76dae61 )