Go to the documentation of this file.
33 #ifndef LIBMPDCLIENT_H
34 #define LIBMPDCLIENT_H
37 # define __W32API_USE_DLLIMPORT__ 1
42 #define MPD_BUFFER_MAX_LENGTH 50000
43 #define MPD_ERRORSTR_MAX_LENGTH 1000
44 #define MPD_WELCOME_MESSAGE "OK MPD "
46 #define MPD_ERROR_TIMEOUT 10
47 #define MPD_ERROR_SYSTEM 11
48 #define MPD_ERROR_UNKHOST 12
49 #define MPD_ERROR_CONNPORT 13
50 #define MPD_ERROR_NOTMPD 14
51 #define MPD_ERROR_NORESPONSE 15
52 #define MPD_ERROR_SENDING 16
53 #define MPD_ERROR_CONNCLOSED 17
54 #define MPD_ERROR_ACK 18
55 #define MPD_ERROR_BUFFEROVERRUN 19
57 #define MPD_ACK_ERROR_UNK -1
58 #define MPD_ERROR_AT_UNK -1
60 #define MPD_ACK_ERROR_NOT_LIST 1
61 #define MPD_ACK_ERROR_ARG 2
62 #define MPD_ACK_ERROR_PASSWORD 3
63 #define MPD_ACK_ERROR_PERMISSION 4
64 #define MPD_ACK_ERROR_UNKNOWN_CMD 5
66 #define MPD_ACK_ERROR_NO_EXIST 50
67 #define MPD_ACK_ERROR_PLAYLIST_MAX 51
68 #define MPD_ACK_ERROR_SYSTEM 52
69 #define MPD_ACK_ERROR_PLAYLIST_LOAD 53
70 #define MPD_ACK_ERROR_UPDATE_ALREADY 54
71 #define MPD_ACK_ERROR_PLAYER_SYNC 55
72 #define MPD_ACK_ERROR_EXIST 56
155 #define MPD_STATUS_STATE_UNKNOWN 0
156 #define MPD_STATUS_STATE_STOP 1
157 #define MPD_STATUS_STATE_PLAY 2
158 #define MPD_STATUS_STATE_PAUSE 3
161 #define MPD_STATUS_NO_VOLUME -1
260 #define MPD_SONG_NO_TIME -1
261 #define MPD_SONG_NO_NUM -1
262 #define MPD_SONG_NO_ID -1
386 #define MPD_INFO_ENTITY_TYPE_DIRECTORY 0
387 #define MPD_INFO_ENTITY_TYPE_SONG 1
388 #define MPD_INFO_ENTITY_TYPE_PLAYLISTFILE 2
446 #define MPD_TABLE_ARTIST MPD_TAG_ITEM_ARTIST
447 #define MPD_TABLE_ALBUM MPD_TAG_ITEM_ALBUM
448 #define MPD_TABLE_TITLE MPD_TAG_ITEM_TITLE
449 #define MPD_TABLE_FILENAME MPD_TAG_ITEM_FILENAME
498 #define MPD_PLAY_AT_BEGINNING -1
676 const char *playlist,
const char *path);
679 const char *playlist,
int from,
int to);
682 const char *playlist,
int pos);
Copyright 2006 Qball Cow