Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

audio::mpd::common::status(3pm) [debian man page]

Audio::MPD::Common::Status(3pm) 			User Contributed Perl Documentation			   Audio::MPD::Common::Status(3pm)

NAME
Audio::MPD::Common::Status - class representing MPD status VERSION
version 1.120881 DESCRIPTION
The MPD server maintains some information on its current state. Those information can be queried with mpd modules. Some of those information are served to you as an Audio::MPD::Common::Status object. An Audio::MPD::Common::Status object does not update itself regularly, and thus should be used immediately. Note: one should never ever instantiate an Audio::MPD::Common::Status object directly - use the mpd modules instead. ATTRIBUTES
$status->audio; A string with the sample rate of the song currently playing, number of bits of the output and number of channels (2 for stereo) - separated by a colon. $status->bitrate; The instantaneous bitrate in kbps. $status->error; May appear in special error cases, such as when disabling output. $status->playlist; The playlist version number, that changes every time the playlist is updated. $status->playlistlength; The number of songs in the playlist. $status->random; Whether the playlist is read randomly or not. $status->repeat; Whether the song is repeated or not. $status->song; The offset of the song currently played in the playlist. $status->songid; The song id (MPD id) of the song currently played. $status->state; The state of MPD server. Either "play", "stop" or "pause". $status->time; An Audio::MPD::Common::Time object, representing the time elapsed / remainging and total. See the associated pod for more details. $status->updating_db; An integer, representing the current update job. $status->volume; The current MPD volume - an integer between 0 and 100. $status->xfade; The crossfade in seconds. AUTHOR
Jerome Quelin 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. perl v5.14.2 2012-04-01 Audio::MPD::Common::Status(3pm)

Check Out this Related Man Page

Audio::MPD::Common(3pm) 				User Contributed Perl Documentation				   Audio::MPD::Common(3pm)

NAME
Audio::MPD::Common - common helper classes for mpd VERSION
version 1.120881 DESCRIPTION
Depending on whether you're using a POE-aware environment or not, people wanting to tinker with mpd (Music Player Daemon) will use either POE::Component::Client::MPD or Audio::MPD. But even if the run-cores of those two modules differ completely, they are using the exact same common classes to represent the various mpd states and information. Therefore, those common classes have been outsourced to Audio::MPD::Common. This module does not export any methods, but the dist provides the following classes that you can query with perldoc: o Audio::MPD::Common::Item o Audio::MPD::Common::Item::Directory o Audio::MPD::Common::Item::Playlist o Audio::MPD::Common::Item::Song o Audio::MPD::Common::Stats o Audio::MPD::Common::Status o Audio::MPD::Common::Time o Audio::MPD::Common::Types Note that those modules should not be of any use outside the two mpd modules afore-mentioned. SEE ALSO
You can look for information on this module at: o Search CPAN http://search.cpan.org/dist/Audio-MPD-Common <http://search.cpan.org/dist/Audio-MPD-Common> o See open / report bugs http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common> o Git repository http://github.com/jquelin/audio-mpd-common.git <http://github.com/jquelin/audio-mpd-common.git> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/Audio-MPD-Common <http://annocpan.org/dist/Audio-MPD-Common> o CPAN Ratings http://cpanratings.perl.org/d/Audio-MPD-Common <http://cpanratings.perl.org/d/Audio-MPD-Common> You may want to look at the modules really accessing MPD: o Audio::MPD o POE::Component::Client::MPD AUTHOR
Jerome Quelin 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. perl v5.14.2 2012-04-01 Audio::MPD::Common(3pm)
Man Page