VLC 4.0.0-dev
libvlc_media_list.h File Reference

LibVLC media list (playlist) external API. More...

Go to the source code of this file.

Typedefs

typedef struct libvlc_media_list_t libvlc_media_list_t
 

Functions

LIBVLC_API libvlc_media_list_tlibvlc_media_list_new (void)
 Create an empty media list. More...
 
LIBVLC_API void libvlc_media_list_release (libvlc_media_list_t *p_ml)
 Release media list created with libvlc_media_list_new(). More...
 
LIBVLC_API libvlc_media_list_tlibvlc_media_list_retain (libvlc_media_list_t *p_ml)
 Retain reference to a media list. More...
 
LIBVLC_API void libvlc_media_list_set_media (libvlc_media_list_t *p_ml, libvlc_media_t *p_md)
 Associate media instance with this media list instance. More...
 
LIBVLC_API libvlc_media_tlibvlc_media_list_media (libvlc_media_list_t *p_ml)
 Get media instance from this media list instance. More...
 
LIBVLC_API int libvlc_media_list_add_media (libvlc_media_list_t *p_ml, libvlc_media_t *p_md)
 Add media instance to media list The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API int libvlc_media_list_insert_media (libvlc_media_list_t *p_ml, libvlc_media_t *p_md, int i_pos)
 Insert media instance in media list on a position The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API int libvlc_media_list_remove_index (libvlc_media_list_t *p_ml, int i_pos)
 Remove media instance from media list on a position The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API int libvlc_media_list_count (libvlc_media_list_t *p_ml)
 Get count on media list items The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API libvlc_media_tlibvlc_media_list_item_at_index (libvlc_media_list_t *p_ml, int i_pos)
 List media instance in media list at a position The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API int libvlc_media_list_index_of_item (libvlc_media_list_t *p_ml, libvlc_media_t *p_md)
 Find index position of List media instance in media list. More...
 
LIBVLC_API bool libvlc_media_list_is_readonly (libvlc_media_list_t *p_ml)
 This indicates if this media list is read-only from a user point of view. More...
 
LIBVLC_API void libvlc_media_list_lock (libvlc_media_list_t *p_ml)
 Get lock on media list items. More...
 
LIBVLC_API void libvlc_media_list_unlock (libvlc_media_list_t *p_ml)
 Release lock on media list items The libvlc_media_list_lock should be held upon entering this function. More...
 
LIBVLC_API libvlc_event_manager_tlibvlc_media_list_event_manager (libvlc_media_list_t *p_ml)
 Get libvlc_event_manager from this media list instance. More...
 

Detailed Description

LibVLC media list (playlist) external API.