Upgrade to Pykka 0.10

This commit is contained in:
Stein Magnus Jodal 2011-03-08 23:20:42 +01:00
parent a88cf1e2ca
commit 7f725e8c78
4 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ Otherwise, make sure you got the required dependencies installed.
- Python >= 2.6, < 3
- `Pykka <http://jodal.github.com/pykka/>`_ >= 0.9.1
- `Pykka <http://jodal.github.com/pykka/>`_ >= 0.10
- GStreamer >= 0.10, with Python bindings. See :doc:`gstreamer`.

View File

@ -51,19 +51,19 @@ def setup_gobject_loop():
return gobject_loop
def setup_output():
return get_class(settings.OUTPUT).start_proxy()
return get_class(settings.OUTPUT).start().proxy()
def setup_mixer():
return get_class(settings.MIXER).start_proxy()
return get_class(settings.MIXER).start().proxy()
def setup_backend():
return get_class(settings.BACKENDS[0]).start_proxy()
return get_class(settings.BACKENDS[0]).start().proxy()
def setup_frontends():
frontends = []
for frontend_class_name in settings.FRONTENDS:
try:
frontend = get_class(frontend_class_name).start_proxy()
frontend = get_class(frontend_class_name).start().proxy()
frontends.append(frontend)
except OptionalDependencyError as e:
logger.info(u'Disabled: %s (%s)', frontend_class_name, e)

View File

@ -40,7 +40,7 @@ class NadMixer(ThreadingActor, BaseMixer):
def __init__(self):
self._volume_cache = None
self._nad_talker = NadTalker.start_proxy()
self._nad_talker = NadTalker.start().proxy()
def _get_volume(self):
return self._volume_cache

View File

@ -1 +1 @@
Pykka >= 0.9.1
Pykka >= 0.10