libsaria: disable plugins
With my recent changes, my old plugins are incompatible. I'm going to come up with a new system in a few releases, so I'm going to wait until then.
This commit is contained in:
parent
34f2ffe227
commit
3bc5c05ab1
|
@ -24,7 +24,7 @@ from path.cache import Cache
|
|||
prefs = None
|
||||
cache = Cache()
|
||||
|
||||
plugin = None
|
||||
#plugin = None
|
||||
audio = None
|
||||
lastfm = None
|
||||
controls = None
|
||||
|
@ -56,21 +56,21 @@ def init():
|
|||
|
||||
|
||||
def startup():
|
||||
global plugin
|
||||
import plugin
|
||||
# global plugin
|
||||
# import plugin
|
||||
|
||||
event.start("PRESTART")
|
||||
audio.init()
|
||||
controls.init2()
|
||||
plugin.load_all()
|
||||
# plugin.load_all()
|
||||
prefs.enable_save()
|
||||
event.start("POSTSTART")
|
||||
|
||||
|
||||
def shutdown():
|
||||
event.start("PREQUIT")
|
||||
import plugin
|
||||
plugin.quit()
|
||||
# import plugin
|
||||
# plugin.quit()
|
||||
event.start("POSTQUIT")
|
||||
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ import gobject
|
|||
import libsaria
|
||||
|
||||
__vers__ = "Ocarina %s" % libsaria.__vstr__
|
||||
gtk.gdk.threads_init()
|
||||
gobject.threads_init()
|
||||
|
||||
def uptime():
|
||||
|
|
Loading…
Reference in New Issue