Upgrade to Pykka 0.10
This commit is contained in:
parent
a88cf1e2ca
commit
7f725e8c78
@ -25,7 +25,7 @@ Otherwise, make sure you got the required dependencies installed.
|
|||||||
|
|
||||||
- Python >= 2.6, < 3
|
- 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`.
|
- GStreamer >= 0.10, with Python bindings. See :doc:`gstreamer`.
|
||||||
|
|
||||||
|
|||||||
@ -51,19 +51,19 @@ def setup_gobject_loop():
|
|||||||
return gobject_loop
|
return gobject_loop
|
||||||
|
|
||||||
def setup_output():
|
def setup_output():
|
||||||
return get_class(settings.OUTPUT).start_proxy()
|
return get_class(settings.OUTPUT).start().proxy()
|
||||||
|
|
||||||
def setup_mixer():
|
def setup_mixer():
|
||||||
return get_class(settings.MIXER).start_proxy()
|
return get_class(settings.MIXER).start().proxy()
|
||||||
|
|
||||||
def setup_backend():
|
def setup_backend():
|
||||||
return get_class(settings.BACKENDS[0]).start_proxy()
|
return get_class(settings.BACKENDS[0]).start().proxy()
|
||||||
|
|
||||||
def setup_frontends():
|
def setup_frontends():
|
||||||
frontends = []
|
frontends = []
|
||||||
for frontend_class_name in settings.FRONTENDS:
|
for frontend_class_name in settings.FRONTENDS:
|
||||||
try:
|
try:
|
||||||
frontend = get_class(frontend_class_name).start_proxy()
|
frontend = get_class(frontend_class_name).start().proxy()
|
||||||
frontends.append(frontend)
|
frontends.append(frontend)
|
||||||
except OptionalDependencyError as e:
|
except OptionalDependencyError as e:
|
||||||
logger.info(u'Disabled: %s (%s)', frontend_class_name, e)
|
logger.info(u'Disabled: %s (%s)', frontend_class_name, e)
|
||||||
|
|||||||
@ -40,7 +40,7 @@ class NadMixer(ThreadingActor, BaseMixer):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._volume_cache = None
|
self._volume_cache = None
|
||||||
self._nad_talker = NadTalker.start_proxy()
|
self._nad_talker = NadTalker.start().proxy()
|
||||||
|
|
||||||
def _get_volume(self):
|
def _get_volume(self):
|
||||||
return self._volume_cache
|
return self._volume_cache
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Pykka >= 0.9.1
|
Pykka >= 0.10
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user