#include <libmpd/libmpd-internal.h>
Functions | |
Ecore_Timer * | mpc_init (const char *hostname, int port, const char *password, void *data) |
Init a connection to the mpd daemon. | |
void | mpc_signal_connect_status_changed (void *data) |
Connect a Emphasis_Gui to mpd status signals. | |
int | mpc_update (void *data) |
Update the mpd connection. | |
void | status_changed_callback (MpdObj *mo, ChangedStatusType what, void *data) |
Global callback call when the mpd status change. | |
int | mpc_assert_status (MpdState status) |
Check the current status of the mpd daemon. | |
Evas_List * | mpc_mlib_artist_get (void) |
Get the artists list from mpd database. | |
Evas_List * | mpc_mlib_album_get (char *artist) |
Get an albums list of artist from mpd database. | |
Evas_List * | mpc_mlib_track_get (char *album, char *artist) |
Get a list of song matching artist and album. | |
void | mpc_playlist_add (Evas_List *list) |
Add to the current playlist a list of songs. | |
void | mpc_playlist_add_song (const char *file, int commit) |
Add to the current playlist a song. | |
void | mpc_playlist_delete (Evas_List *list) |
Delete the id of the mpd playlist. | |
void | mpc_playlist_clear (void) |
Clear mpd playlist. | |
void | mpc_playlist_commit (void) |
Commit new mpd playlist. | |
void | mpc_playlist_shuffle (void) |
Shuffle current mpd playlist. | |
void | mpc_play_id (int id) |
Play the song with id id. | |
void | mpc_play (void) |
Play the current song. | |
void | mpc_pause (void) |
Pause the current song. | |
void | mpc_stop (void) |
Stop the playing. | |
void | mpc_prev (void) |
Play the previous song. | |
void | mpc_next (void) |
Play the next song. | |
void | mpc_seek (double percent) |
Get mpd play the song at percent. | |
void | mpc_toggle_play_pause (void) |
Toggle play/pause status on mpd. | |
void | mpc_toggle_random (void) |
Toggle the random mode on mpd. | |
void | mpc_toggle_repeat (void) |
Toggle the repeat mode on mpd. | |
int | mpc_get_vol (void) |
Get mpd volume value. | |
void | mpc_change_vol (int value) |
Changed mpd volume level. | |
Variables | |
MpdObj * | mo |
It's the global object using the connexion to the mpd daemon. |