VlcMediaListPlayer Class Reference

Media List Player. More...

#include <VLCQtCore/MediaListPlayer.h>

Public Slots

void itemAt (int index)
 Starts playing item at specific position. More...
 
void next ()
 Starts playing next item in the list.
 
void play ()
 Starts playing media list.
 
void previous ()
 Starts playing previous item in the list.
 
void stop ()
 Stops playing.
 

Signals

void played ()
 Signal sent when played.
 
void nextItemSet (libvlc_media_t *media)
 Signal sent on next item set. More...
 
void stopped ()
 Signal sent when stopped.
 

Public Member Functions

 VlcMediaListPlayer (VlcInstance *instance)
 VlcMediaListPlayer constructor. More...
 
 VlcMediaListPlayer (VlcMediaPlayer *player, VlcInstance *instance)
 VlcMediaListPlayer constructor. More...
 
 ~VlcMediaListPlayer ()
 
libvlc_media_list_player_t * core ()
 Returns libvlc media list player object. More...
 
VlcMediaListcurrentMediaList ()
 Get current media list. More...
 
VlcMediaPlayermediaPlayer ()
 Get media player core. More...
 
Vlc::PlaybackMode playbackMode () const
 Get playback mode. More...
 
void setMediaList (VlcMediaList *list)
 Set media list to play. More...
 
void setPlaybackMode (const Vlc::PlaybackMode &mode)
 Set playback mode. More...
 

Detailed Description

A basic MediaListPlayer manager for VLC-Qt library. It provides internal playlist support. Requires a valid VlcMediaPlayer.

Constructor & Destructor Documentation

VlcMediaListPlayer::VlcMediaListPlayer ( VlcInstance instance)
explicit

Create VlcMediaListPlayer without new core.

Parameters
instanceinstance object
VlcMediaListPlayer::VlcMediaListPlayer ( VlcMediaPlayer player,
VlcInstance instance 
)
explicit

Create VlcMediaListPlayer with specific VlcMediaPlayer core.

Parameters
playerplayer object
instanceinstance object
VlcMediaListPlayer::~VlcMediaListPlayer ( )

VlcMediaListPlayer destructor

Member Function Documentation

libvlc_media_list_player_t * VlcMediaListPlayer::core ( )
Returns
libvlc media list player (libvlc_media_list_player_t *)
VlcMediaList * VlcMediaListPlayer::currentMediaList ( )
Returns
current media list (VlcMediaList *)
void VlcMediaListPlayer::itemAt ( int  index)
slot
Parameters
indexitem position
VlcMediaPlayer * VlcMediaListPlayer::mediaPlayer ( )
Returns
media player core (VlcMediaPlayer *)
void VlcMediaListPlayer::nextItemSet ( libvlc_media_t *  media)
signal
Parameters
medianext media item
Vlc::PlaybackMode VlcMediaListPlayer::playbackMode ( ) const
Returns
playback mode
void VlcMediaListPlayer::setMediaList ( VlcMediaList list)
Parameters
listmedia list object (VlcMediaList *)
void VlcMediaListPlayer::setPlaybackMode ( const Vlc::PlaybackMode mode)
Parameters
modeplayback mode

The documentation for this class was generated from the following files: