mediaplugin

The Media plugin

class openlp.plugins.media.mediaplugin.MediaPlugin[source]

Bases: openlp.core.lib.plugin.Plugin

The media plugin adds the ability to playback audio and video content.

static about()[source]

Return the about text for the plugin manager

app_startup()[source]

Override app_startup() in order to do nothing

check_pre_conditions()[source]

Check it we have a valid environment. :return: true or false

create_settings_tab(parent)[source]

Create the settings Tab

Parameters:parent
finalise()[source]

Time to tidy up on exit.

get_display_css()[source]

Add css style sheets to htmlbuilder.

get_display_html()[source]

Add html code to htmlbuilder.

get_display_javascript()[source]

Add javascript functions to htmlbuilder.

initialise()[source]

Override the inherited initialise() method in order to upgrade the media before trying to load it

set_plugin_text_strings()[source]

Called to define all translatable texts of the plugin

openlp.plugins.media.mediaplugin.process_check_binary(program_path)[source]

Function that checks whether a binary MediaInfo is present

:param program_path:The full path to the binary to check. :return: If exists or not