VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc_media_list_player.h File Reference

LibVLC media list player external API. More...

Include dependency graph for libvlc_media_list_player.h:

Go to the source code of this file.

Typedefs

typedef struct libvlc_instance_t libvlc_instance_t
 
typedef struct libvlc_media_player_t libvlc_media_player_t
 
typedef struct libvlc_media_list_t libvlc_media_list_t
 
typedef struct libvlc_media_t libvlc_media_t
 
typedef struct libvlc_media_list_player_t libvlc_media_list_player_t
 
typedef enum libvlc_playback_mode_t libvlc_playback_mode_t
 Defines playback modes for playlist.
 

Enumerations

enum  libvlc_playback_mode_t { libvlc_playback_mode_default , libvlc_playback_mode_loop , libvlc_playback_mode_repeat }
 Defines playback modes for playlist. More...
 

Functions

libvlc_media_list_player_tlibvlc_media_list_player_new (libvlc_instance_t *p_instance)
 Create new media_list_player.
 
void libvlc_media_list_player_release (libvlc_media_list_player_t *p_mlp)
 Release a media_list_player after use Decrement the reference count of a media player object.
 
libvlc_media_list_player_tlibvlc_media_list_player_retain (libvlc_media_list_player_t *p_mlp)
 Retain a reference to a media player list object.
 
libvlc_event_manager_tlibvlc_media_list_player_event_manager (libvlc_media_list_player_t *p_mlp)
 Return the event manager of this media_list_player.
 
void libvlc_media_list_player_set_media_player (libvlc_media_list_player_t *p_mlp, libvlc_media_player_t *p_mi)
 Replace media player in media_list_player with this instance.
 
libvlc_media_player_tlibvlc_media_list_player_get_media_player (libvlc_media_list_player_t *p_mlp)
 Get media player of the media_list_player instance.
 
void libvlc_media_list_player_set_media_list (libvlc_media_list_player_t *p_mlp, libvlc_media_list_t *p_mlist)
 Set the media list associated with the player.
 
void libvlc_media_list_player_play (libvlc_media_list_player_t *p_mlp)
 Play media list.
 
void libvlc_media_list_player_pause (libvlc_media_list_player_t *p_mlp)
 Toggle pause (or resume) media list.
 
void libvlc_media_list_player_set_pause (libvlc_media_list_player_t *p_mlp, int do_pause)
 Pause or resume media list.
 
bool libvlc_media_list_player_is_playing (libvlc_media_list_player_t *p_mlp)
 Is media list playing?
 
libvlc_state_t libvlc_media_list_player_get_state (libvlc_media_list_player_t *p_mlp)
 Get current libvlc_state of media list player.
 
int libvlc_media_list_player_play_item_at_index (libvlc_media_list_player_t *p_mlp, int i_index)
 Play media list item at position index.
 
int libvlc_media_list_player_play_item (libvlc_media_list_player_t *p_mlp, libvlc_media_t *p_md)
 Play the given media item.
 
void libvlc_media_list_player_stop_async (libvlc_media_list_player_t *p_mlp)
 Stop playing media list.
 
int libvlc_media_list_player_next (libvlc_media_list_player_t *p_mlp)
 Play next item from media list.
 
int libvlc_media_list_player_previous (libvlc_media_list_player_t *p_mlp)
 Play previous item from media list.
 
void libvlc_media_list_player_set_playback_mode (libvlc_media_list_player_t *p_mlp, libvlc_playback_mode_t e_mode)
 Sets the playback mode for the playlist.
 

Detailed Description

LibVLC media list player external API.

Typedef Documentation

◆ libvlc_instance_t

◆ libvlc_media_list_t

◆ libvlc_media_player_t

◆ libvlc_media_t