Detailed Description
Functions to get mpd statistics
Function Documentation
int mpd_stats_get_db_playtime |
( |
MpdObj * |
mi | ) |
|
- Parameters:
-
Gets the total time of the database
- Returns:
- the total time of the database
int mpd_stats_get_playtime |
( |
MpdObj * |
mi | ) |
|
- Parameters:
-
Gets the time mpd is playing
- Returns:
- time that mpd is playing in seconds
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
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
int mpd_stats_get_total_songs |
( |
MpdObj * |
mi | ) |
|
- Parameters:
-
Gets the total number of songs in the database
- Returns:
- The total number of songs
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
int mpd_stats_update |
( |
MpdObj * |
mi | ) |
|
- Parameters:
-
Shouldn't be used from the program.