UniversalMusicController/mpd_client.h

16 lines
616 B
C
Raw Permalink Normal View History

2020-05-29 12:21:05 +00:00
#include <mpd/connection.h>
#include <stdbool.h>
2020-05-29 19:59:14 +00:00
#include <stdlib.h>
2020-05-29 12:21:05 +00:00
#include "metadata.h"
struct mpd_connection *mpdConnect( int port );
void mpdDisconnect( struct mpd_connection *mpd_connection );
struct song_metadata mpdGetSong( struct mpd_connection *mpd_connection );
void mpdPlayPause( struct mpd_connection *mpd_connection );
void mpdNext( struct mpd_connection *mpd_connection );
void mpdPrev( struct mpd_connection *mpd_connection );
void mpdStop( struct mpd_connection *mpd_connection );
2020-05-29 18:45:39 +00:00
bool mpdRunning( struct mpd_connection *mpd_connection );
bool mpdPlaying( struct mpd_connection *mpd_connection );