BSD Ports

audio/p5-Audio-MPD 2.004_2 DragonFly

Class to talk to MPD (Music Player Daemon) servers

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
audio, perl5
Package size
40.8 KiB, 106.0 KiB installed

Description

Audio::MPD 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.

Note that the module will by default connect to mpd before sending any command, and will disconnect after the command has been issued. This scheme is far from optimal, but allows us not to care about timeout disconnections.

/!\ Note that Audio::MPD is using high-level, blocking sockets. This means that if the mpd server is slow, or hangs for whatever reason, or even crash abruptly, the program will be hung forever in this sub. The POE::Component::Client::MPD module is way safer - you're advised to use it instead of Audio::MPD. Or you can try to set conntype to $REUSE (see Audio::MPD constructor for more details), but you would be then on your own to deal with disconnections.

In the other systems

The newest version among them is 2.004, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyaudio/p5-Audio-MPD2.004_2 newestnone known-[email protected]-
FreeBSDaudio/p5-Audio-MPD2.004_2 newestnone known-[email protected]-
OpenBSDaudio/p5-Audio-MPD2.004p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
HardenedBSDaudio/p5-Audio-MPD2.004_2 newestno data-[email protected]-
GhostBSDaudio/p5-Audio-MPD2.004_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Audio-MPD

From DPorts:

cd /usr/dports/audio/p5-Audio-MPD && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 10

No port depends on this one.