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
587#ifdef DOXYGEN_SHOULD_USE_THIS
603#ifdef DOXYGEN_SHOULD_USE_THIS
627#ifdef DOXYGEN_SHOULD_USE_THIS
654#ifdef DOXYGEN_SHOULD_USE_THIS
674#ifdef DOXYGEN_SHOULD_USE_THIS
692#ifdef DOXYGEN_SHOULD_USE_THIS
709#ifdef DOXYGEN_SHOULD_USE_THIS
727#ifdef DOXYGEN_SHOULD_USE_THIS
744#ifdef DOXYGEN_SHOULD_USE_THIS
760#ifdef DOXYGEN_SHOULD_USE_THIS
783#ifdef DOXYGEN_SHOULD_USE_THIS
799#ifdef DOXYGEN_SHOULD_USE_THIS
822#if !defined SWIG && !defined DOXYGEN_SHOULD_SKIP_THIS
823 void OnPlayBackStarted(
const CFileItem& file)
override;
824 void OnAVStarted(
const CFileItem& file)
override;
825 void OnAVChange()
override;
826 void OnPlayBackEnded()
override;
827 void OnPlayBackStopped()
override;
828 void OnPlayBackError()
override;
829 void OnPlayBackPaused()
override;
830 void OnPlayBackResumed()
override;
831 void OnQueueNextItem()
override;
832 void OnPlayBackSpeedChanged(
int iSpeed)
override;
833 void OnPlayBackSeek(int64_t iTime, int64_t seekOffset)
override;
834 void OnPlayBackSeekChapter(
int iChapter)
override;
Definition InfoTagGame.h:49
Definition InfoTagMusic.h:48
Definition InfoTagRadioRDS.h:53
Definition InfoTagVideo.h:860
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...