GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AUDIO::MPD::COMMON::STATUS (3)

.ds Aq ’

NAME

Audio::MPD::Common::Status - class representing MPD status

CONTENTS

VERSION

version 2.003

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 <B>notB> update itself regularly, and thus should be used immediately.

Note: one should <B>neverB> ever instantiate an Audio::MPD::Common::Status object directly - use the mpd modules instead.

ATTRIBUTES

CW$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.

CW$status->bitrate;

The instantaneous bitrate in kbps.

CW$status->error;

May appear in special error cases, such as when disabling output.

CW$status->playlist;

The playlist version number, that changes every time the playlist is updated.

CW$status->playlistlength;

The number of songs in the playlist.

CW$status->random;

Whether the playlist is read randomly or not.

CW$status->repeat;

Whether the song is repeated or not.

CW$status->song;

The offset of the song currently played in the playlist.

CW$status->songid;

The song id (MPD id) of the song currently played.

CW$status->state;

The state of MPD server. Either play, stop or pause.

CW$status->time;

An Audio::MPD::Common::Time object, representing the time elapsed / remainging and total. See the associated pod for more details.

CW$status->updating_db;

An integer, representing the current update job.

CW$status->volume;

The current MPD volume - an integer between 0 and 100.

CW$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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AUDIO::MPD::COMMON::STATUS (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.