|
libmpd 11.8.17
|
Go to the source code of this file.
| int mpd_stats_get_db_playtime | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the total time of the database
References mpd_stats_get_db_playtime().
Referenced by mpd_stats_get_db_playtime().
| int mpd_stats_get_playtime | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the time mpd is playing
References mpd_stats_get_playtime().
Referenced by mpd_stats_get_playtime().
| int mpd_stats_get_total_albums | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the total number of albums in the database
References mpd_stats_get_total_albums().
Referenced by mpd_stats_get_total_albums().
| int mpd_stats_get_total_artists | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the total number of artists in the database.
References mpd_stats_get_total_artists().
Referenced by mpd_stats_get_total_artists().
| int mpd_stats_get_total_songs | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the total number of songs in the database
References mpd_stats_get_total_songs().
Referenced by mpd_stats_get_total_songs().
| int mpd_stats_get_uptime | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the time since mpd has been running
References mpd_stats_get_uptime().
Referenced by mpd_stats_get_uptime().
| int mpd_stats_update | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Shouldn't be used from the program.
References mpd_stats_update().
Referenced by mpd_stats_update().
| int mpd_status_check | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Checks if there is status information available. if not available, it tries to fetch it. This function is called from within libmpd, and shouldn't be called from the program.
References mpd_status_check().
Referenced by mpd_status_check().
| int mpd_status_db_is_updating | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Checks if mpd is updating it's music db.
References mpd_status_db_is_updating().
Referenced by mpd_status_db_is_updating().
| int mpd_status_get_bitrate | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
get the bitrate of the currently playing song in kbs. This is a constantly updating value. (for vbr songs)
References mpd_status_get_bitrate().
Referenced by mpd_status_get_bitrate().
| int mpd_status_get_bits | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
get the number of bits per sample of the currently playing song.
References mpd_status_get_bits().
Referenced by mpd_status_get_bits().
| int mpd_status_get_channels | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
get the number of channels in the currently playing song. This is usually only 1(mono) or 2(stereo), but this might change in the future.
References mpd_status_get_channels().
Referenced by mpd_status_get_channels().
| int mpd_status_get_crossfade | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Get the crossfade time. 0 is disabled.
References mpd_status_get_crossfade().
Referenced by mpd_status_get_crossfade().
| int mpd_status_get_elapsed_song_time | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Gets the elapsed time of the currently playing song.
References mpd_status_get_elapsed_song_time().
Referenced by mpd_status_get_elapsed_song_time().
| char * mpd_status_get_mpd_error | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
References mpd_status_get_mpd_error().
Referenced by mpd_status_get_mpd_error().
| unsigned int mpd_status_get_samplerate | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
get the samplerate of the currently playing song in bps.
References mpd_status_get_samplerate().
Referenced by mpd_status_get_samplerate().
| int mpd_status_get_total_song_time | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
get the total length of the currently playing song.
References mpd_status_get_total_song_time().
Referenced by mpd_status_get_total_song_time().
| int mpd_status_get_volume | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Get the audio output volume.
References mpd_status_get_volume().
Referenced by mpd_status_get_volume().
| int mpd_status_queue_update | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Marks the current status invalid, the next time status is needed it will be fetched from mpd.
References mpd_status_queue_update().
Referenced by mpd_status_queue_update().
| int mpd_status_set_crossfade | ( | MpdObj * | mi, |
| int | crossfade_time ) |
| mi | a MpdObj |
| crossfade_time | the time to crossfade in seconds |
Sets the crossfade time. 0 to disable crossfade.
References mpd_status_set_crossfade().
Referenced by mpd_status_set_crossfade().
| int mpd_status_set_volume | ( | MpdObj * | mi, |
| int | volume ) |
| mi | a MpdObj |
| volume | a value between 0 and 100. |
Set the output volume
References mpd_status_set_volume().
Referenced by mpd_status_set_volume().
| float mpd_status_set_volume_as_float | ( | MpdObj * | mi, |
| float | fvol ) |
| mi | a MpdObj |
| fvol | a float between 0.0 and 1.0 |
Set the output volume
References mpd_status_set_volume_as_float().
Referenced by mpd_status_set_volume_as_float().
| int mpd_status_update | ( | MpdObj * | mi | ) |
| mi | a MpdObj |
Updates the status field from mpd. Call this function every 0.x seconds from the program's main-loop to receive signals when mpd's status has changed.
References mpd_status_update().
Referenced by mpd_status_update().