clients/lib/xmmsclient/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"

Go to the source code of this file.

Functions

xmmsc_result_txmmsc_playlist_current_pos (xmmsc_connection_t *c, const char *playlist)
 Retrive the current position in the playlist.
xmmsc_result_txmmsc_playlist_current_active (xmmsc_connection_t *c)
 Retrive the name of the active playlist.
xmmsc_result_txmmsc_playlist_list (xmmsc_connection_t *c)
 List the existing playlists.
xmmsc_result_txmmsc_playlist_create (xmmsc_connection_t *c, const char *playlist)
 Create a new empty playlist.
xmmsc_result_txmmsc_playlist_shuffle (xmmsc_connection_t *c, const char *playlist)
 Shuffles the current playlist.
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).
xmmsc_result_txmmsc_playlist_clear (xmmsc_connection_t *c, const char *playlist)
 Clears the current playlist.
xmmsc_result_txmmsc_playlist_remove (xmmsc_connection_t *c, const char *playlist)
 Remove the given playlist.
xmmsc_result_txmmsc_playlist_list_entries (xmmsc_connection_t *c, const char *playlist)
 List current playlist.
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.
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.
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.
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.
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.
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.
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.
xmmsc_result_txmmsc_playlist_insert_collection (xmmsc_connection_t *c, const char *playlist, int pos, xmmsv_coll_t *coll, xmmsv_t *order)
 Queries the medialib for media and inserts the matching ones to the current playlist at the given position.
xmmsc_result_txmmsc_playlist_add_id (xmmsc_connection_t *c, const char *playlist, int id)
 Add a medialib id to the playlist.
xmmsc_result_txmmsc_playlist_add_url (xmmsc_connection_t *c, const char *playlist, const char *url)
 Add the url to the playlist.
xmmsc_result_txmmsc_playlist_radd (xmmsc_connection_t *c, const char *playlist, const char *url)
 Adds a directory recursivly to the playlist.
xmmsc_result_txmmsc_playlist_radd_encoded (xmmsc_connection_t *c, const char *playlist, const char *url)
 Adds a directory recursivly to the playlist.
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.
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.
xmmsc_result_txmmsc_playlist_add_encoded (xmmsc_connection_t *c, const char *playlist, const char *url)
 Add the url to the playlist.
xmmsc_result_txmmsc_playlist_add_idlist (xmmsc_connection_t *c, const char *playlist, xmmsv_coll_t *coll)
 Adds media in idlist to a playlist.
xmmsc_result_txmmsc_playlist_add_collection (xmmsc_connection_t *c, const char *playlist, xmmsv_coll_t *coll, xmmsv_t *order)
 Queries the medialib for media and adds the matching ones to the current playlist.
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).
xmmsc_result_txmmsc_playlist_remove_entry (xmmsc_connection_t *c, const char *playlist, int pos)
 Remove an entry from the playlist.
xmmsc_result_txmmsc_broadcast_playlist_changed (xmmsc_connection_t *c)
 Request the playlist changed broadcast from the server.
xmmsc_result_txmmsc_broadcast_playlist_current_pos (xmmsc_connection_t *c)
 Request the playlist current pos broadcast.
xmmsc_result_txmmsc_playlist_set_next (xmmsc_connection_t *c, int pos)
 Set next entry in the playlist.
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.
xmmsc_result_txmmsc_playlist_load (xmmsc_connection_t *c, const char *name)
 Load a playlist as the current active playlist.
xmmsc_result_txmmsc_broadcast_playlist_loaded (xmmsc_connection_t *c)
 Request the playlist_loaded broadcast.

Generated on Tue Feb 23 18:17:57 2010 for XmmsClient by  doxygen 1.6.1