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 (VlcMedia *media)
 Signal sent on next item set. More...
 
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

Media List Player.

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

VlcMediaListPlayer constructor.

Create VlcMediaListPlayer without new core.

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

VlcMediaListPlayer constructor.

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 object.

Returns
libvlc media list player (libvlc_media_list_player_t *)
VlcMediaList * VlcMediaListPlayer::currentMediaList ( )

Get current media list.

Returns
current media list (VlcMediaList *)
void VlcMediaListPlayer::itemAt ( int  index)
slot

Starts playing item at specific position.

Parameters
indexitem position
VlcMediaPlayer * VlcMediaListPlayer::mediaPlayer ( )

Get media player core.

Returns
media player core (VlcMediaPlayer *)
void VlcMediaListPlayer::nextItemSet ( VlcMedia media)
signal

Signal sent on next item set.

Parameters
medianext media item
Since
VLC-Qt 1.1
void VlcMediaListPlayer::nextItemSet ( libvlc_media_t *  media)
signal

Signal sent on next item set.

Parameters
medianext media item
Vlc::PlaybackMode VlcMediaListPlayer::playbackMode ( ) const

Get playback mode.

Returns
playback mode
void VlcMediaListPlayer::setMediaList ( VlcMediaList list)

Set media list to play.

Parameters
listmedia list object (VlcMediaList *)
void VlcMediaListPlayer::setPlaybackMode ( const Vlc::PlaybackMode mode)

Set playback mode.

Parameters
modeplayback mode

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