#define PLAYLIST_ITEM_ERROR_LIB 1
#define PLAYLIST_ITEM_ERROR_CUE 2
+/**
+ * @anchor playlist_item_t
+ *
+ * fu
+ */
typedef struct playlist_item
{
- char id[PATH_MAX];
- char title[PATH_MAX];
+/*@{*/
+ char id[PATH_MAX]; /**< id of item, i.e. internal id or filename */
+ char title[PATH_MAX]; /**< title */
int in;
int dur;
- int player;
- playlist_item_type_t type;
- int omn_idx;
- int omn_offset;
- int error;
- int del;
+ int player; /**< player index that item currenly associated, -1 otherwise */
+ playlist_item_type_t type; /**< block type of item */
+ int int_idx; /**< internal playlist index */
+// int omn_offset;
+ int error; /**< flag indicates if any error occured with item */
+ int del; /**< */
+/*@}*/
} playlist_item_t;
#define MAX_PLAYERS 4
player_t item[MAX_PLAYERS];
int count;
char host[PATH_MAX];
+ int port;
pthread_mutex_t lock;
} players;
int f_exit;
} playlist;
struct
{
+ int port;
void* handle[2];
GdkPixbuf *icons[8];