#define MAX_PLAYLIST_ITEMS 1024
#define MAX_LIBRARY_ITEMS 10240
+#define PLAYLIST_ITEM_ERROR_LIB 1
+#define PLAYLIST_ITEM_ERROR_CUE 2
typedef struct playlist_item
{
playlist_item_type_t type;
int omn_idx;
int omn_offset;
+ int error;
} playlist_item_t;
#define MAX_PLAYERS 4
int omnplay_library_load_file(playlist_item_t* items, int *pcount, char* filename);
playlist_item_t* omnplay_library_find(omnplay_instance_t* app, char* id);
void omnplay_library_normalize_item(omnplay_instance_t* app, playlist_item_t* item);
+playlist_item_t* omnplay_library_get_selected(omnplay_instance_t* app, int *count);
#ifdef __cplusplus
};