|
Freya
0.0.1
A Gtk3 MPD Client
|
A wrapper for mpd_stats. More...
#include <Statistics.hh>
Public Member Functions | |
| Statistics (mpd_stats &stats) | |
| You are not supposed to instance this yourself. | |
| ~Statistics () | |
| unsigned | get_number_of_artists () |
| Number of artists in DB. | |
| unsigned | get_number_of_albums () |
| Number of albums in DB. | |
| unsigned | get_number_of_songs () |
| Number of songs in DB. | |
| unsigned long | get_uptime () |
| Get uptime in seconds. | |
| unsigned long | get_db_update_time () |
| get seconds since last update | |
| unsigned long | get_play_time () |
| Playing since xxx seconds. | |
| unsigned long | get_db_play_time () |
| Total time in seconds needed to play the whole DB. | |
A wrapper for mpd_stats.
Definition at line 43 of file Statistics.hh.
| MPD::Statistics::Statistics | ( | mpd_stats & | stats | ) |
You are not supposed to instance this yourself.
| stats |
| unsigned long MPD::Statistics::get_db_play_time | ( | ) |
Total time in seconds needed to play the whole DB.
| unsigned long MPD::Statistics::get_db_update_time | ( | ) |
get seconds since last update
| unsigned MPD::Statistics::get_number_of_albums | ( | ) |
Number of albums in DB.
| unsigned MPD::Statistics::get_number_of_artists | ( | ) |
Number of artists in DB.
| unsigned MPD::Statistics::get_number_of_songs | ( | ) |
Number of songs in DB.
| unsigned long MPD::Statistics::get_play_time | ( | ) |
Playing since xxx seconds.
| unsigned long MPD::Statistics::get_uptime | ( | ) |
Get uptime in seconds.
1.8.0