BSD Ports

audio/p5-Audio-MPD 2.004_2 FreeBSD

Class to talk to MPD (Music Player Daemon) servers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
audio, perl5
Package size
35.8 KiB, 99.7 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

SystemPortVersion
FreeBSDaudio/p5-Audio-MPD2.004_2
OpenBSDaudio/p5-Audio-MPD2.004p0
DragonFlyaudio/p5-Audio-MPD2.004_2

Install

Binary package:

pkg install p5-Audio-MPD

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Audio-MPD>0:audio/p5-Audio-MPD

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.004_22.004_22.004_22.004_22.004_2
FreeBSD:14:quarterly2.004_22.004_2n/a2.004_22.004_2
FreeBSD:15:latest2.004_22.004_2n/a2.004_22.004_2
FreeBSD:15:quarterly2.004_22.004_2n/an/an/a
FreeBSD:16:latest2.004_22.004_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 9

Runtime 9

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 52
Run dependencies 51

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 14
  • bin/mpd-dump-ratings
  • bin/mpd-dynamic
  • bin/mpd-rate
  • %%SITE_PERL%%/Audio/MPD.pm
  • %%SITE_PERL%%/Audio/MPD/Collection.pm
  • %%SITE_PERL%%/Audio/MPD/Playlist.pm
  • %%SITE_PERL%%/Audio/MPD/Types.pm
  • %%PERL5_MAN1%%/mpd-dump-ratings.1.gz
  • %%PERL5_MAN1%%/mpd-dynamic.1.gz
  • %%PERL5_MAN1%%/mpd-rate.1.gz
  • %%PERL5_MAN3%%/Audio::MPD.3.gz
  • %%PERL5_MAN3%%/Audio::MPD::Collection.3.gz
  • %%PERL5_MAN3%%/Audio::MPD::Playlist.3.gz
  • %%PERL5_MAN3%%/Audio::MPD::Types.3.gz
distinfo 1
FileSizeSHA256
Audio-MPD-2.004.tar.gz41586c4f8adfe040d5373ddc9a33dba66ea108d02e45178b8e60f5cf74aa408c6aa92
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.