XMMS2
Macros | Typedefs | Functions
xmms_playlist.h File Reference
#include <glib.h>
#include <xmms/xmms_error.h>
#include <xmmspriv/xmms_medialib.h>
#include <xmmspriv/xmms_mediainfo.h>

Macros

#define XMMS_MAX_URI_LEN   1024
 
#define XMMS_MEDIA_DATA_LEN   1024
 
#define XMMS_MAX_INT_ATTRIBUTE_LEN   64
 
#define XMMS_DEFAULT_PARTYSHUFFLE_UPCOMING   10
 

Typedefs

typedef struct xmms_playlist_St xmms_playlist_t
 

Functions

xmms_playlist_txmms_playlist_init (xmms_medialib_t *medialib, xmms_coll_dag_t *dag)
 Initializes a new xmms_playlist_t. More...
 
void xmms_playlist_update (xmms_playlist_t *playlist, const gchar *plname)
 Update playlist entries. 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_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...
 
GList * xmms_playlist_list (xmms_playlist_t *playlist, const gchar *plname, xmms_error_t *err)
 
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_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...
 

Macro Definition Documentation

#define XMMS_DEFAULT_PARTYSHUFFLE_UPCOMING   10
#define XMMS_MAX_INT_ATTRIBUTE_LEN   64
#define XMMS_MAX_URI_LEN   1024
#define XMMS_MEDIA_DATA_LEN   1024

Typedef Documentation

typedef struct xmms_playlist_St xmms_playlist_t

Function Documentation

GList* xmms_playlist_list ( xmms_playlist_t playlist,
const gchar *  plname,
xmms_error_t err 
)