/usr/share/perl5/Audio/MPD/Common/Output.pm is in libaudio-mpd-common-perl 1.120881-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | #
# This file is part of Audio-MPD-Common
#
# This software is copyright (c) 2007 by Jerome Quelin.
#
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
#
use 5.008;
use strict;
use warnings;
package Audio::MPD::Common::Output;
{
$Audio::MPD::Common::Output::VERSION = '1.120881';
}
# ABSTRACT: class representing MPD output
use Moose;
use MooseX::Has::Sugar;
# -- public attributes
has id => ( ro, isa=>"Int", required );
has name => ( ro, isa=>"Str", required );
has enabled => ( ro, isa=>"Bool", required );
1;
=pod
=head1 NAME
Audio::MPD::Common::Output - class representing MPD output
=head1 VERSION
version 1.120881
=head1 DESCRIPTION
The MPD server can have various outputs defined, generally one per sound
card. Those output can be queried with the mpd modules. Some of those
information are served to you as an L<Audio::MPD::Common::Output>
object.
An L<Audio::MPD::Common::Output> object does B<not> update itself
regularly, and thus should be used immediately.
Note: one should B<never> ever instantiate an
L<Audio::MPD::Common::Output> object directly - use the mpd modules
instead.
=head1 ATTRIBUTES
=head2 $output->id;
Internal MPD id for the output.
=head2 $output->name;
Friendly-name for the output.
=head2 $output->enabled;
Boolean stating whether the output is enabled or not.
=head1 AUTHOR
Jerome Quelin
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
__END__
|