Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBPython Class Reference

#include <XBPython.h>

Inheritance diagram for XBPython:
IPlayerCallback ANNOUNCEMENT::IAnnouncer ILanguageInvocationHandler

Public Member Functions

 XBPython ()
 
 ~XBPython () override
 
void OnPlayBackEnded () override
 
void OnPlayBackStarted (const CFileItem &file) override
 
void OnAVStarted (const CFileItem &file) override
 
void OnAVChange () override
 
void OnPlayBackPaused () override
 
void OnPlayBackResumed () override
 
void OnPlayBackStopped () override
 
void OnPlayBackError () override
 
void OnPlayBackSpeedChanged (int iSpeed) override
 
void OnPlayBackSeek (int64_t iTime, int64_t seekOffset) override
 
void OnPlayBackSeekChapter (int iChapter) override
 
void OnQueueNextItem () override
 
void Announce (ANNOUNCEMENT::AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) override
 
void RegisterPythonPlayerCallBack (IPlayerCallback *pCallback)
 
void UnregisterPythonPlayerCallBack (IPlayerCallback *pCallback)
 
void RegisterPythonMonitorCallBack (XBMCAddon::xbmc::Monitor *pCallback)
 
void UnregisterPythonMonitorCallBack (XBMCAddon::xbmc::Monitor *pCallback)
 
void OnSettingsChanged (const std::string &strings)
 
void OnScreensaverActivated ()
 
void OnScreensaverDeactivated ()
 
void OnDPMSActivated ()
 
void OnDPMSDeactivated ()
 
void OnScanStarted (const std::string &library)
 
void OnScanFinished (const std::string &library)
 
void OnCleanStarted (const std::string &library)
 
void OnCleanFinished (const std::string &library)
 
void OnNotification (const std::string &sender, const std::string &method, const std::string &data)
 
void Process () override
 
void PulseGlobalEvent () override
 
void Uninitialize () override
 
bool OnScriptInitialized (ILanguageInvoker *invoker) override
 
void OnScriptStarted (ILanguageInvoker *invoker) override
 
void NotifyScriptAborting (ILanguageInvoker *invoker) override
 
void OnExecutionEnded (ILanguageInvoker *invoker) override
 
void OnScriptFinalized (ILanguageInvoker *invoker) override
 
ILanguageInvokerCreateInvoker () override
 
bool WaitForEvent (CEvent &hEvent, unsigned int milliseconds)
 
- Public Member Functions inherited from IPlayerCallback
virtual ~IPlayerCallback ()=default
 
virtual void OnPlayerCloseFile (const CFileItem &file, const CBookmark &bookmark)
 
virtual void RequestVideoSettings (const CFileItem &fileItem)
 
virtual void StoreVideoSettings (const CFileItem &fileItem, const CVideoSettings &vs)
 
- Public Member Functions inherited from ANNOUNCEMENT::IAnnouncer
 IAnnouncer ()=default
 
virtual ~IAnnouncer ()=default
 
- Public Member Functions inherited from ILanguageInvocationHandler
 ILanguageInvocationHandler ()=default
 
virtual ~ILanguageInvocationHandler ()=default
 
virtual bool Initialize ()
 

Constructor & Destructor Documentation

◆ XBPython()

XBPython::XBPython ( )

◆ ~XBPython()

XBPython::~XBPython ( )
override

Member Function Documentation

◆ Announce()

void XBPython::Announce ( ANNOUNCEMENT::AnnouncementFlag flag,
const std::string & sender,
const std::string & message,
const CVariant & data )
overridevirtual

◆ CreateInvoker()

ILanguageInvoker * XBPython::CreateInvoker ( )
overridevirtual

◆ NotifyScriptAborting()

void XBPython::NotifyScriptAborting ( ILanguageInvoker * invoker)
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ OnAVChange()

void XBPython::OnAVChange ( )
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnAVStarted()

void XBPython::OnAVStarted ( const CFileItem & file)
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnCleanFinished()

void XBPython::OnCleanFinished ( const std::string & library)

◆ OnCleanStarted()

void XBPython::OnCleanStarted ( const std::string & library)

◆ OnDPMSActivated()

void XBPython::OnDPMSActivated ( )

◆ OnDPMSDeactivated()

void XBPython::OnDPMSDeactivated ( )

◆ OnExecutionEnded()

void XBPython::OnExecutionEnded ( ILanguageInvoker * invoker)
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ OnNotification()

void XBPython::OnNotification ( const std::string & sender,
const std::string & method,
const std::string & data )

◆ OnPlayBackEnded()

void XBPython::OnPlayBackEnded ( )
overridevirtual

Implements IPlayerCallback.

◆ OnPlayBackError()

void XBPython::OnPlayBackError ( )
overridevirtual

Implements IPlayerCallback.

◆ OnPlayBackPaused()

void XBPython::OnPlayBackPaused ( )
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnPlayBackResumed()

void XBPython::OnPlayBackResumed ( )
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnPlayBackSeek()

void XBPython::OnPlayBackSeek ( int64_t iTime,
int64_t seekOffset )
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnPlayBackSeekChapter()

void XBPython::OnPlayBackSeekChapter ( int iChapter)
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnPlayBackSpeedChanged()

void XBPython::OnPlayBackSpeedChanged ( int iSpeed)
overridevirtual

Reimplemented from IPlayerCallback.

◆ OnPlayBackStarted()

void XBPython::OnPlayBackStarted ( const CFileItem & file)
overridevirtual

Implements IPlayerCallback.

◆ OnPlayBackStopped()

void XBPython::OnPlayBackStopped ( )
overridevirtual

Implements IPlayerCallback.

◆ OnQueueNextItem()

void XBPython::OnQueueNextItem ( )
overridevirtual

Implements IPlayerCallback.

◆ OnScanFinished()

void XBPython::OnScanFinished ( const std::string & library)

◆ OnScanStarted()

void XBPython::OnScanStarted ( const std::string & library)

◆ OnScreensaverActivated()

void XBPython::OnScreensaverActivated ( )

◆ OnScreensaverDeactivated()

void XBPython::OnScreensaverDeactivated ( )

◆ OnScriptFinalized()

void XBPython::OnScriptFinalized ( ILanguageInvoker * invoker)
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ OnScriptInitialized()

bool XBPython::OnScriptInitialized ( ILanguageInvoker * invoker)
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ OnScriptStarted()

void XBPython::OnScriptStarted ( ILanguageInvoker * invoker)
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ OnSettingsChanged()

void XBPython::OnSettingsChanged ( const std::string & strings)

◆ Process()

void XBPython::Process ( )
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ PulseGlobalEvent()

void XBPython::PulseGlobalEvent ( )
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ RegisterPythonMonitorCallBack()

void XBPython::RegisterPythonMonitorCallBack ( XBMCAddon::xbmc::Monitor * pCallback)

◆ RegisterPythonPlayerCallBack()

void XBPython::RegisterPythonPlayerCallBack ( IPlayerCallback * pCallback)

◆ Uninitialize()

void XBPython::Uninitialize ( )
overridevirtual

Reimplemented from ILanguageInvocationHandler.

◆ UnregisterPythonMonitorCallBack()

void XBPython::UnregisterPythonMonitorCallBack ( XBMCAddon::xbmc::Monitor * pCallback)

◆ UnregisterPythonPlayerCallBack()

void XBPython::UnregisterPythonPlayerCallBack ( IPlayerCallback * pCallback)

◆ WaitForEvent()

bool XBPython::WaitForEvent ( CEvent & hEvent,
unsigned int milliseconds )

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