30 lines
467 B
Python
30 lines
467 B
Python
|
# This is a simple test plugin, to make sure everything is working
|
||
|
|
||
|
__author__="bjschuma"
|
||
|
__date__ ="$Dec 22, 2009 12:29:58 AM$"
|
||
|
|
||
|
|
||
|
global name, app, type, path, opt
|
||
|
name = "pause"
|
||
|
app = "ocarina"
|
||
|
type = "core"
|
||
|
path = ""
|
||
|
opt = []
|
||
|
|
||
|
import gstreamer
|
||
|
|
||
|
|
||
|
# Called every time the plugin is enabled
|
||
|
def open():
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Called every time the plugin is stopped
|
||
|
def close():
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Called when the plugin needs to perform some action
|
||
|
def run(args=None):
|
||
|
gstreamer.pause()
|