ocarina/src/core/play.py

31 lines
494 B
Python

# This is a simple test plugin, to make sure everything is working
__author__="bjschuma"
__date__ ="$Dec 22, 2009 12:05:02 AM$"
global name, app, type, path, opt
name = "play"
app = "ocarina"
type = "core"
path = ""
opt = []
from bt.message import write
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.play()