MP3::Daemon 0.63 review
Download
|
|
MP3::Daemon is a daemon that possesses mpg123.
SYNOPSIS
MP3::Daemon is meant to be subclassed -- not used directly.
package MP3::Daemon::Simple;
use strict;
use vars qw(@ISA);
use MP3::Daemon;
@ISA = qw(MP3::Daemon);
Other perl scripts would use MP3::Daemon::Simple like this:
my $socket_path = "/tmp/mp3d_socket";
# start up a daemon
MP3::Daemon::Simple->spawn($socket_path);
# get a socket that's good for one request to the daemon
my $client = MP3::Daemon::Simple->client($socket_path);
print $client @command;
Requirements:
Perl
MP3::Daemon 0.63 search tags