Functions to get mpd statistics
◆ mpd_stats_get_db_playtime()
int mpd_stats_get_db_playtime |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the total time of the database
- Returns
- the total time of the database
◆ mpd_stats_get_playtime()
int mpd_stats_get_playtime |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the time mpd is playing
- Returns
- time that mpd is playing in seconds
◆ mpd_stats_get_total_albums()
int mpd_stats_get_total_albums |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the total number of albums in the database
- Returns
- The number of albums in the database
◆ mpd_stats_get_total_artists()
int mpd_stats_get_total_artists |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the total number of artists in the database.
- Returns
- The number of artists in the database
◆ mpd_stats_get_total_songs()
int mpd_stats_get_total_songs |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the total number of songs in the database
- Returns
- The total number of songs
◆ mpd_stats_get_uptime()
int mpd_stats_get_uptime |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Gets the time since mpd has been running
- Returns
- time since mpd has been running in seconds
◆ mpd_stats_update()
int mpd_stats_update |
( |
MpdObj * |
mi | ) |
|
- Parameters
-
Shouldn't be used from the program.