libmpd 11.8.17
libmpd-player.h
Go to the documentation of this file.
1/* libmpd (high level libmpdclient library)
2 * Copyright (C) 2004-2009 Qball Cow <qball@sarine.nl>
3 * Project homepage: http://gmpcwiki.sarine.nl/
4
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18*/
19
26/* @{*/
27#ifndef __MPD_LIB_PLAYER__
28#define __MPD_LIB_PLAYER__
29
44
58
59
69int mpd_player_play_id(MpdObj * mi, int id);
70
71
80
81
90
91
100
101
110
111
120
129
130
139
140
149
158
167
176int mpd_player_set_repeat(MpdObj * mi, int repeat);
194int mpd_player_set_random(MpdObj * mi, int random);
195
196
204int mpd_player_seek(MpdObj * mi, int sec);
205
206
207
217int mpd_player_set_single(MpdObj * mi, int single);
218
225int mpd_player_set_consume(MpdObj * mi, int consume);
226
227#endif
228
229
int mpd_player_play_id(MpdObj *mi, int id)
int mpd_player_get_current_song_pos(MpdObj *mi)
int mpd_player_set_consume(MpdObj *mi, int consume)
int mpd_player_get_random(MpdObj *mi)
int mpd_player_get_consume(MpdObj *mi)
MpdState
@ MPD_PLAYER_UNKNOWN
@ MPD_PLAYER_PLAY
@ MPD_PLAYER_STOP
@ MPD_PLAYER_PAUSE
int mpd_player_get_repeat(MpdObj *mi)
int mpd_player_set_random(MpdObj *mi, int random)
int mpd_player_pause(MpdObj *mi)
int mpd_player_get_next_song_id(MpdObj *mi)
int mpd_player_set_single(MpdObj *mi, int single)
int mpd_player_play(MpdObj *mi)
int mpd_player_next(MpdObj *mi)
int mpd_player_get_next_song_pos(MpdObj *mi)
int mpd_player_prev(MpdObj *mi)
int mpd_player_stop(MpdObj *mi)
int mpd_player_get_current_song_id(MpdObj *mi)
int mpd_player_set_repeat(MpdObj *mi, int repeat)
int mpd_player_get_state(MpdObj *mi)
int mpd_player_seek(MpdObj *mi, int sec)
int mpd_player_get_single(MpdObj *mi)
struct _MpdObj MpdObj
Definition libmpd.h:100
#define MPD_STATUS_STATE_PAUSE
#define MPD_STATUS_STATE_STOP
#define MPD_STATUS_STATE_PLAY
#define MPD_STATUS_STATE_UNKNOWN

Copyright 2006 Qball Cow