XmmsClient
Functions
playlist.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <xmmsclient/xmmsclient.h>
#include <xmmsclientpriv/xmmsclient.h>
#include <xmmsclientpriv/xmmsclient_ipc.h>
#include <xmmsc/xmmsc_idnumbers.h>
#include <xmmsc/xmmsc_stdbool.h>
#include <xmmsc/xmmsc_stringport.h>

Functions

xmmsc_result_txmmsc_playlist_current_pos (xmmsc_connection_t *c, const char *playlist)
 Retrive the current position in the playlist. More...
 
xmmsc_result_txmmsc_playlist_current_active (xmmsc_connection_t *c)
 Retrive the name of the active playlist. More...
 
xmmsc_result_txmmsc_playlist_list (xmmsc_connection_t *c)
 List the existing playlists. More...
 
xmmsc_result_txmmsc_playlist_create (xmmsc_connection_t *c, const char *playlist)
 Create a new empty playlist. More...
 
xmmsc_result_txmmsc_playlist_shuffle (xmmsc_connection_t *c, const char *playlist)
 Shuffles the current playlist. More...
 
xmmsc_result_txmmsc_playlist_sort (xmmsc_connection_t *c, const char *playlist, xmmsv_t *properties)
 Sorts the playlist according to the list of properties (xmmsv_t containing a list of strings). More...
 
xmmsc_result_txmmsc_playlist_clear (xmmsc_connection_t *c, const char *playlist)
 Clears the current playlist. More...
 
xmmsc_result_txmmsc_playlist_replace (xmmsc_connection_t *c, const char *playlist, xmmsv_t *coll, xmms_playlist_position_action_t action)
 Replaces the current playlist. More...
 
xmmsc_result_txmmsc_playlist_remove (xmmsc_connection_t *c, const char *playlist)
 Remove the given playlist. More...
 
xmmsc_result_txmmsc_playlist_list_entries (xmmsc_connection_t *c, const char *playlist)
 List current playlist. More...
 
xmmsc_result_txmmsc_playlist_insert_id (xmmsc_connection_t *c, const char *playlist, int pos, int id)
 Insert a medialib id at given position in playlist. More...
 
xmmsc_result_txmmsc_playlist_insert_url (xmmsc_connection_t *c, const char *playlist, int pos, const char *url)
 Insert entry at given position in playlist. More...
 
xmmsc_result_txmmsc_playlist_rinsert (xmmsc_connection_t *c, const char *playlist, int pos, const char *url)
 Insert a directory recursivly at a given position in the playlist. More...
 
xmmsc_result_txmmsc_playlist_rinsert_encoded (xmmsc_connection_t *c, const char *playlist, int pos, const char *url)
 Insert a directory recursivly at a given position in the playlist. More...
 
xmmsc_result_txmmsc_playlist_insert_args (xmmsc_connection_t *c, const char *playlist, int pos, const char *url, int numargs, const char **args)
 Insert entry at given position in playlist with args. More...
 
xmmsc_result_txmmsc_playlist_insert_full (xmmsc_connection_t *c, const char *playlist, int pos, const char *url, xmmsv_t *args)
 Insert entry at given position in playlist with args. More...
 
xmmsc_result_txmmsc_playlist_insert_encoded (xmmsc_connection_t *c, const char *playlist, int pos, const char *url)
 Insert entry at given position in playlist. More...
 
xmmsc_result_txmmsc_playlist_insert_collection (xmmsc_connection_t *c, const char *playlist, int pos, xmmsv_t *coll, xmmsv_t *order)
 Queries the medialib for media and inserts the matching ones to the current playlist at the given position. More...
 
xmmsc_result_txmmsc_playlist_add_id (xmmsc_connection_t *c, const char *playlist, int id)
 Add a medialib id to the playlist. More...
 
xmmsc_result_txmmsc_playlist_add_url (xmmsc_connection_t *c, const char *playlist, const char *url)
 Add the url to the playlist. More...
 
xmmsc_result_txmmsc_playlist_radd (xmmsc_connection_t *c, const char *playlist, const char *url)
 Adds a directory recursivly to the playlist. More...
 
xmmsc_result_txmmsc_playlist_radd_encoded (xmmsc_connection_t *c, const char *playlist, const char *url)
 Adds a directory recursivly to the playlist. More...
 
xmmsc_result_txmmsc_playlist_add_args (xmmsc_connection_t *c, const char *playlist, const char *url, int nargs, const char **args)
 Add the url to the playlist with arguments. More...
 
xmmsc_result_txmmsc_playlist_add_full (xmmsc_connection_t *c, const char *playlist, const char *url, xmmsv_t *args)
 Add the url to the playlist with arguments. More...
 
xmmsc_result_txmmsc_playlist_add_encoded (xmmsc_connection_t *c, const char *playlist, const char *url)
 Add the url to the playlist. More...
 
xmmsc_result_txmmsc_playlist_add_idlist (xmmsc_connection_t *c, const char *playlist, xmmsv_t *coll)
 Adds media in idlist to a playlist. More...
 
xmmsc_result_txmmsc_playlist_add_collection (xmmsc_connection_t *c, const char *playlist, xmmsv_t *coll, xmmsv_t *order)
 Queries the medialib for media and adds the matching ones to the current playlist. More...
 
xmmsc_result_txmmsc_playlist_move_entry (xmmsc_connection_t *c, const char *playlist, int cur_pos, int new_pos)
 Move a playlist entry to a new position (absolute move) More...
 
xmmsc_result_txmmsc_playlist_remove_entry (xmmsc_connection_t *c, const char *playlist, int pos)
 Remove an entry from the playlist. More...
 
xmmsc_result_txmmsc_broadcast_playlist_changed (xmmsc_connection_t *c)
 Request the playlist changed broadcast from the server. More...
 
xmmsc_result_txmmsc_broadcast_playlist_current_pos (xmmsc_connection_t *c)
 Request the playlist current pos broadcast. More...
 
xmmsc_result_txmmsc_playlist_set_next (xmmsc_connection_t *c, int pos)
 Set next entry in the playlist. More...
 
xmmsc_result_txmmsc_playlist_set_next_rel (xmmsc_connection_t *c, int pos)
 Same as xmmsc_playlist_set_next but relative to the current postion. More...
 
xmmsc_result_txmmsc_playlist_load (xmmsc_connection_t *c, const char *name)
 Load a playlist as the current active playlist. More...
 
xmmsc_result_txmmsc_broadcast_playlist_loaded (xmmsc_connection_t *c)
 Request the playlist_loaded broadcast. More...