Audio::MPD::Common::Stats(3pm)

Audio::MPD::Common::Stats3pm

Class representing mpd stats

Version

version 2.003

Overview

The MPD server maintains some general information. Those information can be queried with the mpd modules. Some of those information are served to you as an Audio::MPD::Common::Stats object.

An Audio::MPD::Common::Stats object does not update itself regularly, and thus should be used immediately.

Note: one should never ever instantiate an Audio::MPD::Common::Stats object directly - use the mpd modules instead.

Attributes

$stats->artists;

Number of artists in the music database.

$stats->albums;

Number of albums in the music database.

$stats->songs;

Number of songs in the music database.

$stats->uptime;

Daemon uptime (time since last startup) in seconds.

$stats->playtime;

Time length of music played.

$stats->db_playtime;

Sum of all song times in the music database.

$stats->db_update;

Last database update in UNIX time.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10–11
  7. 12
  8. 13

Author

Jerome Quelin

From libaudio-mpd-common-perl 2.003-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.