11#include "AddonCallback.h"
12#include "AddonString.h"
13#include "Alternative.h"
15#include "InfoTagMusic.h"
16#include "InfoTagRadioRDS.h"
17#include "InfoTagVideo.h"
20#include "cores/IPlayerCallback.h"
21#include "swighelper.h"
29 XBMCCOMMONS_STANDARD_EXCEPTION(PlayerException);
31 typedef Alternative<String, const PlayList* > PlayParameter;
59 class Player :
public AddonCallback,
public IPlayerCallback
65 void playPlaylist(
const PlayList* playlist = NULL,
66 bool windowed =
false,
int startpos=-1);
67 void playCurrent(
bool windowed =
false);
70#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
71 static PlayParameter defaultPlayParameter;
74#ifndef DOXYGEN_SHOULD_SKIP_THIS
82#ifdef DOXYGEN_SHOULD_USE_THIS
120 void play(
const PlayParameter& item = Player::defaultPlayParameter,
124#ifdef DOXYGEN_SHOULD_USE_THIS
135#ifdef DOXYGEN_SHOULD_USE_THIS
146#ifdef DOXYGEN_SHOULD_USE_THIS
157#ifdef DOXYGEN_SHOULD_USE_THIS
168#ifdef DOXYGEN_SHOULD_USE_THIS
194#ifdef DOXYGEN_SHOULD_USE_THIS
212#ifdef DOXYGEN_SHOULD_USE_THIS
229#ifdef DOXYGEN_SHOULD_USE_THIS
245#ifdef DOXYGEN_SHOULD_USE_THIS
258#ifdef DOXYGEN_SHOULD_USE_THIS
271#ifdef DOXYGEN_SHOULD_USE_THIS
284#ifdef DOXYGEN_SHOULD_USE_THIS
297#ifdef DOXYGEN_SHOULD_USE_THIS
310#ifdef DOXYGEN_SHOULD_USE_THIS
323#ifdef DOXYGEN_SHOULD_USE_THIS
341#ifdef DOXYGEN_SHOULD_USE_THIS
357#ifdef DOXYGEN_SHOULD_USE_THIS
373#ifdef DOXYGEN_SHOULD_USE_THIS
386#ifdef DOXYGEN_SHOULD_USE_THIS
399#ifdef DOXYGEN_SHOULD_USE_THIS
412#ifdef DOXYGEN_SHOULD_USE_THIS
426#ifdef DOXYGEN_SHOULD_USE_THIS
444#ifdef DOXYGEN_SHOULD_USE_THIS
461#ifdef DOXYGEN_SHOULD_USE_THIS
478#ifdef DOXYGEN_SHOULD_USE_THIS
496#ifdef DOXYGEN_SHOULD_USE_THIS
509#ifdef DOXYGEN_SHOULD_USE_THIS
532#ifdef DOXYGEN_SHOULD_USE_THIS
545#ifdef DOXYGEN_SHOULD_USE_THIS
558#ifdef DOXYGEN_SHOULD_USE_THIS
582#ifdef DOXYGEN_SHOULD_USE_THIS
610#ifdef DOXYGEN_SHOULD_USE_THIS
628#ifdef DOXYGEN_SHOULD_USE_THIS
645#ifdef DOXYGEN_SHOULD_USE_THIS
663#ifdef DOXYGEN_SHOULD_USE_THIS
680#ifdef DOXYGEN_SHOULD_USE_THIS
693#ifdef DOXYGEN_SHOULD_USE_THIS
716#ifdef DOXYGEN_SHOULD_USE_THIS
729#ifdef DOXYGEN_SHOULD_USE_THIS
752#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
753 void OnPlayBackStarted(
const CFileItem& file)
override;
754 void OnAVStarted(
const CFileItem& file)
override;
755 void OnAVChange()
override;
756 void OnPlayBackEnded()
override;
757 void OnPlayBackStopped()
override;
758 void OnPlayBackError()
override;
759 void OnPlayBackPaused()
override;
760 void OnPlayBackResumed()
override;
761 void OnQueueNextItem()
override;
762 void OnPlayBackSpeedChanged(
int iSpeed)
override;
763 void OnPlayBackSeek(int64_t iTime, int64_t seekOffset)
override;
764 void OnPlayBackSeekChapter(
int iChapter)
override;
Definition: InfoTagMusic.h:44
Definition: InfoTagRadioRDS.h:53
Definition: InfoTagVideo.h:45
Definition: PlayList.h:50
Definition: ListItem.h:51
onPlayBackSeekChapter(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackPaused()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackStopped()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackError()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onAVStarted()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackResumed()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onAVChange()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackSeek(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackStarted()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackEnded()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onQueueNextItem()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onPlayBackSpeedChanged(int speed)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getVideoInfoTag()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setSubtitles(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getAvailableVideoStreams()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getMusicInfoTag()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
isExternalPlayer()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
playselected(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
isPlayingVideo()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
showSubtitles(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
isPlayingAudio()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
isPlaying()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getTime()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setVideoStream(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setAudioStream(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getAvailableAudioStreams()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
updateInfoTag()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
play(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
stop()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getRadioRDSInfoTag()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
pause()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setSubtitleStream(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
seekTime(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getTotalTime()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getSubtitles()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
playprevious()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
playnext()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getAvailableSubtitleStreams()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
isPlayingRDS()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getPlayingFile()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...