Controls playlist.
More...
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <math.h>
#include <ctype.h>
#include <xmms/xmms_log.h>
#include <xmms/xmms_ipc.h>
#include <xmms/xmms_config.h>
#include <xmmspriv/xmms_medialib.h>
#include <xmmspriv/xmms_collection.h>
#include <xmmspriv/xmms_playlist.h>
#include "playlist_ipc.c"
|
#define | XMMS_PLAYLIST_CHANGED_MSG(type, id, name) xmms_playlist_changed_msg_send (playlist, xmms_playlist_changed_msg_new (playlist, type, id, name)) |
|
#define | XMMS_PLAYLIST_CURRPOS_MSG(pos, name) xmms_playlist_current_pos_msg_send (playlist, xmms_playlist_current_pos_msg_new (playlist, pos, name)) |
|
|
void | xmms_playlist_update (xmms_playlist_t *playlist, const gchar *plname) |
| Update playlist entries. More...
|
|
xmms_playlist_t * | xmms_playlist_init (xmms_medialib_t *medialib, xmms_coll_dag_t *colldag) |
| Initializes a new xmms_playlist_t. More...
|
|
gboolean | xmms_playlist_advance (xmms_playlist_t *playlist) |
| Go to next song in playlist according to current playlist mode. More...
|
|
xmms_medialib_entry_t | xmms_playlist_current_entry (xmms_playlist_t *playlist) |
| Retrieve the currently active xmms_medialib_entry_t. More...
|
|
void | xmms_playlist_insert_entry (xmms_playlist_t *playlist, const gchar *plname, gint32 pos, xmms_medialib_entry_t file, xmms_error_t *err) |
| Insert an entry at a given position in the playlist without validating it. More...
|
|
void | xmms_playlist_add_entry (xmms_playlist_t *playlist, const gchar *plname, xmms_medialib_entry_t file, xmms_error_t *err) |
| Add an entry to the playlist without validating it. More...
|
|
void | xmms_playlist_add_entry_unlocked (xmms_playlist_t *playlist, const gchar *plname, xmmsv_t *plcoll, xmms_medialib_entry_t file, xmms_error_t *err) |
| Add an entry to the playlist without locking the mutex. More...
|
|
#define XMMS_PLAYLIST_CHANGED_MSG |
( |
|
type, |
|
|
|
id, |
|
|
|
name |
|
) |
| xmms_playlist_changed_msg_send (playlist, xmms_playlist_changed_msg_new (playlist, type, id, name)) |
#define XMMS_PLAYLIST_CURRPOS_MSG |
( |
|
pos, |
|
|
|
name |
|
) |
| xmms_playlist_current_pos_msg_send (playlist, xmms_playlist_current_pos_msg_new (playlist, pos, name)) |