libmpd  11.8.17
Stats

Functions

int mpd_stats_update (MpdObj *mi)
 
int mpd_stats_get_total_songs (MpdObj *mi)
 
int mpd_stats_get_total_artists (MpdObj *mi)
 
int mpd_stats_get_total_albums (MpdObj *mi)
 
int mpd_stats_get_uptime (MpdObj *mi)
 
int mpd_stats_get_db_playtime (MpdObj *mi)
 
int mpd_stats_get_playtime (MpdObj *mi)
 

Detailed Description

Functions to get mpd statistics

Function Documentation

◆ mpd_stats_get_db_playtime()

int mpd_stats_get_db_playtime ( MpdObj mi)
Parameters
mia MpdObj

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
mia MpdObj

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
mia MpdObj

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
mia MpdObj

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
mia MpdObj

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
mia MpdObj

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
mia MpdObj

Shouldn't be used from the program.


Copyright 2006 Qball Cow