libmpd
0.20.0
Main Page
Modules
Data Structures
Files
Examples
File List
Globals
libmpd-status.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
20
21
#ifndef __MPD_LIB_STATUS__
22
#define __MPD_LIB_STATUS__
23
27
36
int
mpd_status_check
(
MpdObj
*mi);
37
38
39
47
int
mpd_status_queue_update
(
MpdObj
*mi);
48
49
50
59
int
mpd_status_update
(
MpdObj
*mi);
60
61
62
70
float
mpd_status_set_volume_as_float
(
MpdObj
*mi,
float
fvol);
71
72
81
int
mpd_status_set_volume
(
MpdObj
*mi,
int
volume);
82
83
84
92
int
mpd_status_get_volume
(
MpdObj
*mi);
93
94
95
103
int
mpd_status_get_bitrate
(
MpdObj
*mi);
104
105
106
114
unsigned
int
mpd_status_get_samplerate
(
MpdObj
*mi);
115
116
117
125
int
mpd_status_get_channels
(
MpdObj
*mi);
126
127
128
136
int
mpd_status_get_bits
(
MpdObj
*mi);
137
138
139
147
int
mpd_status_get_total_song_time
(
MpdObj
*mi);
148
149
157
int
mpd_status_get_elapsed_song_time
(
MpdObj
*mi);
158
159
167
int
mpd_status_get_crossfade
(
MpdObj
*mi);
168
169
170
179
int
mpd_status_set_crossfade
(
MpdObj
*mi,
int
crossfade_time);
180
181
182
190
int
mpd_status_db_is_updating
(
MpdObj
*mi);
191
198
char
*
mpd_status_get_mpd_error
(
MpdObj
*mi);
199
206
207
208
209
215
int
mpd_stats_update
(
MpdObj
*mi);
216
217
225
int
mpd_stats_get_total_songs
(
MpdObj
*mi);
226
227
235
int
mpd_stats_get_total_artists
(
MpdObj
*mi);
236
237
238
246
int
mpd_stats_get_total_albums
(
MpdObj
*mi);
247
248
249
257
int
mpd_stats_get_uptime
(
MpdObj
*mi);
265
int
mpd_stats_get_db_playtime
(
MpdObj
*mi);
266
267
268
276
int
mpd_stats_get_playtime
(
MpdObj
*mi);
277
278
279
280
282
#endif
Copyright 2006
Qball Cow