logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Audio::MPD::Common::Stats - class representing MPD stats

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.

Author

       Jerome Quelin

Description

       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.

Name

       Audio::MPD::Common::Stats - class representing MPD stats

Version

       version 2.003

See Also