hi, please my plugin show hello world in the screen and i want to make it to autostart
Code
def autostart(reason, **kwargs):
if reason == 0 and kwargs.has_key("session"):
session = kwargs["session"]
session.open(myplugin)
elif reason == 1:
print 'shutdown'
def main(session, **kwargs):
session.open(myplugin)
def Plugins(**kwargs):
return [
PluginDescriptor(
where =[PluginDescriptor.WHERE_AUTOSTART,PluginDescriptor.WHERE_SESSIONSTART],
fnc=autostart),
PluginDescriptor(
name="test",
description="plugin_test",
where = PluginDescriptor.WHERE_PLUGINMENU,
fnc=main)]
Alles anzeigen
the plugin is really auto running after reboot but invisible!
please how can i show my plugin with skin in this case ?
please help