11#include "AddonCallback.h"
12#include "AddonString.h"
13#include "Alternative.h"
15#include "InfoTagGame.h"
16#include "InfoTagMusic.h"
17#include "InfoTagRadioRDS.h"
18#include "InfoTagVideo.h"
21#include "cores/IPlayerCallback.h"
22#include "swighelper.h"
30 XBMCCOMMONS_STANDARD_EXCEPTION(PlayerException);
32 typedef Alternative<String, const PlayList* > PlayParameter;
60 class Player :
public AddonCallback,
public IPlayerCallback
66 void playPlaylist(
const PlayList* playlist = NULL,
67 bool windowed =
false,
int startpos=-1);
68 void playCurrent(
bool windowed =
false);
71#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
72 static PlayParameter defaultPlayParameter;
75#ifndef DOXYGEN_SHOULD_SKIP_THIS
83#ifdef DOXYGEN_SHOULD_USE_THIS
126 void play(
const PlayParameter& item = Player::defaultPlayParameter,
130#ifdef DOXYGEN_SHOULD_USE_THIS
141#ifdef DOXYGEN_SHOULD_USE_THIS
152#ifdef DOXYGEN_SHOULD_USE_THIS
163#ifdef DOXYGEN_SHOULD_USE_THIS
174#ifdef DOXYGEN_SHOULD_USE_THIS
200#ifdef DOXYGEN_SHOULD_USE_THIS
218#ifdef DOXYGEN_SHOULD_USE_THIS
235#ifdef DOXYGEN_SHOULD_USE_THIS
251#ifdef DOXYGEN_SHOULD_USE_THIS
264#ifdef DOXYGEN_SHOULD_USE_THIS
277#ifdef DOXYGEN_SHOULD_USE_THIS
290#ifdef DOXYGEN_SHOULD_USE_THIS
303#ifdef DOXYGEN_SHOULD_USE_THIS
316#ifdef DOXYGEN_SHOULD_USE_THIS
329#ifdef DOXYGEN_SHOULD_USE_THIS
347#ifdef DOXYGEN_SHOULD_USE_THIS
363#ifdef DOXYGEN_SHOULD_USE_THIS
379#ifdef DOXYGEN_SHOULD_USE_THIS
392#ifdef DOXYGEN_SHOULD_USE_THIS
405#ifdef DOXYGEN_SHOULD_USE_THIS
418#ifdef DOXYGEN_SHOULD_USE_THIS
432#ifdef DOXYGEN_SHOULD_USE_THIS
448#ifdef DOXYGEN_SHOULD_USE_THIS
466#ifdef DOXYGEN_SHOULD_USE_THIS
483#ifdef DOXYGEN_SHOULD_USE_THIS
500#ifdef DOXYGEN_SHOULD_USE_THIS
517#ifdef DOXYGEN_SHOULD_USE_THIS
535#ifdef DOXYGEN_SHOULD_USE_THIS
548#ifdef DOXYGEN_SHOULD_USE_THIS
571#ifdef DOXYGEN_SHOULD_USE_THIS
584#ifdef DOXYGEN_SHOULD_USE_THIS
597#ifdef DOXYGEN_SHOULD_USE_THIS
621#ifdef DOXYGEN_SHOULD_USE_THIS
648#ifdef DOXYGEN_SHOULD_USE_THIS
668#ifdef DOXYGEN_SHOULD_USE_THIS
686#ifdef DOXYGEN_SHOULD_USE_THIS
703#ifdef DOXYGEN_SHOULD_USE_THIS
721#ifdef DOXYGEN_SHOULD_USE_THIS
738#ifdef DOXYGEN_SHOULD_USE_THIS
751#ifdef DOXYGEN_SHOULD_USE_THIS
774#ifdef DOXYGEN_SHOULD_USE_THIS
787#ifdef DOXYGEN_SHOULD_USE_THIS
810#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
811 void OnPlayBackStarted(
const CFileItem& file)
override;
812 void OnAVStarted(
const CFileItem& file)
override;
813 void OnAVChange()
override;
814 void OnPlayBackEnded()
override;
815 void OnPlayBackStopped()
override;
816 void OnPlayBackError()
override;
817 void OnPlayBackPaused()
override;
818 void OnPlayBackResumed()
override;
819 void OnQueueNextItem()
override;
820 void OnPlayBackSpeedChanged(
int iSpeed)
override;
821 void OnPlayBackSeek(int64_t iTime, int64_t seekOffset)
override;
822 void OnPlayBackSeekChapter(
int iChapter)
override;
Definition InfoTagGame.h:49
Definition InfoTagMusic.h:48
Definition InfoTagRadioRDS.h:53
Definition InfoTagVideo.h:859
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...
isPlayingGame()
<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...
getGameInfoTag()
<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...
getPlayingItem()
<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...