src.themerr.plugin#

class src.themerr.plugin.Themerr[source]#

Bases: object

The Themerr class is the main class for the Themerr addon.

This class is responsible for starting and terminating the addon.

Examples

>>> Themerr().start()
Attributes:
loglogger.Logger

The logger instance for the Themerr addon.

monitormonitor.ThemerrMonitor

The monitor instance for the Themerr addon.

settingssettings.Settings

The settings instance for the Themerr addon.

guigui.Window

The gui instance for the Themerr addon.

add_onxbmcaddon.Addon

The xbmcaddon.Addon instance for the Themerr addon.

cwdstr

The current working directory for the Themerr addon.

lib_dirstr

The lib directory for the Themerr addon.

threadslist

A list of threads for the Themerr addon.

Methods

start()

Start the Themerr addon.

terminate()

Terminate the Themerr addon.

start()[source]#

Start the Themerr addon.

The window watcher thread is started, then the addon waits for kodi to stop the addon.

Examples

>>> Themerr().start()
terminate()[source]#

Terminate the Themerr addon.

The monitor is deleted, then all threads are joined.

Examples

>>> Themerr().terminate()