Audio::MPD module gives a clear object-oriented interface for talking to and controlling MPD (Music Player Daemon) servers.
A connection to the MPD server is established as soon as a new Audio::MPD object is created. Commands are then sent to the server as the class's methods are called.
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
Or, using Module::Builder:
perl Build.PL
./Build
./Build test
./Build install
If mpd is running, you can force the full non-regression test suite to be ran by using:
MPD_TEST_OVERRIDE=1 make test
You can also try to install it directly as a package for your favorite Linux distribution:
- mandriva: perl-Audio-MPD