libmpd 11.8.17
libmpd-playlist.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#ifndef __MPD_LIB_PLAYLIST__
21#define __MPD_LIB_PLAYLIST__
22
27
28
38
39
48
49
59
60
71
72
84
85
95
96
106
107
116
117
126int mpd_playlist_move_pos (MpdObj *mi, int old_pos, int new_pos);
127
128
137int mpd_playlist_move_id (MpdObj *mi, int old_id, int new_id);
138
139
148MpdData * mpd_playlist_get_changes (MpdObj *mi,int old_playlist_id);
149
160
161
168
177int mpd_playlist_add (MpdObj *mi,const char *path);
178
187int mpd_playlist_delete_id(MpdObj *mi, int songid);
188
197int mpd_playlist_delete_pos(MpdObj *mi, int songpos);
198
210int mpd_playlist_add_get_id(MpdObj *mi,const char *path);
211
224
233int mpd_playlist_queue_add (MpdObj *mi,const char *path);
234
235
236
245int mpd_playlist_queue_load (MpdObj *mi,const char *path);
246
247
256
257
267
268
277
285
295
304
312void mpd_playlist_search_add_constraint(MpdObj *mi, mpd_TagItems field, const char *value);
313
321
322
332
333
343
352int mpd_playlist_load (MpdObj *mi,const char *path);
355#endif
int mpd_playlist_queue_delete_pos(MpdObj *mi, int songpos)
long long mpd_playlist_get_playlist_id(MpdObj *mi)
int mpd_playlist_add(MpdObj *mi, const char *path)
void mpd_playlist_search_start(MpdObj *mi, int exact)
int mpd_playlist_clear(MpdObj *mi)
MpdData * mpd_playlist_get_song_from_pos_range(MpdObj *mi, int start, int stop)
int mpd_playlist_move_id(MpdObj *mi, int old_id, int new_id)
int mpd_playlist_mpd_queue_add(MpdObj *mi, int songid)
int mpd_playlist_shuffle(MpdObj *mi)
int mpd_playlist_add_get_id(MpdObj *mi, const char *path)
int mpd_playlist_delete_pos(MpdObj *mi, int songpos)
int mpd_playlist_queue_delete_id(MpdObj *mi, int id)
int mpd_playlist_get_playlist_length(MpdObj *mi)
mpd_Song * mpd_playlist_get_current_song(MpdObj *mi)
MpdData * mpd_playlist_search_commit(MpdObj *mi)
int mpd_playlist_move_pos(MpdObj *mi, int old_pos, int new_pos)
int mpd_playlist_queue_commit(MpdObj *mi)
int mpd_playlist_load(MpdObj *mi, const char *path)
int mpd_playlist_queue_load(MpdObj *mi, const char *path)
mpd_Song * mpd_playlist_get_song(MpdObj *mi, int songid)
long long mpd_playlist_get_old_playlist_id(MpdObj *mi)
MpdData * mpd_playlist_get_changes_posid(MpdObj *mi, int old_playlist_id)
int mpd_playlist_mpd_queue_remove(MpdObj *mi, int songpos)
mpd_Song * mpd_playlist_get_song_from_pos(MpdObj *mi, int songpos)
MpdData * mpd_playlist_get_changes(MpdObj *mi, int old_playlist_id)
int mpd_playlist_delete_id(MpdObj *mi, int songid)
int mpd_playlist_queue_add(MpdObj *mi, const char *path)
void mpd_playlist_search_add_constraint(MpdObj *mi, mpd_TagItems field, const char *value)
struct _MpdObj MpdObj
Definition libmpd.h:100
mpd_TagItems

Copyright 2006 Qball Cow