Commit c85e43f4 authored by David Trattnig's avatar David Trattnig
Browse files

Cleanup. #44

parent fb131e84
......@@ -55,11 +55,6 @@ class Engine():
event_dispatcher = None
is_liquidsoap_running = False
plugins = None
# Mixer
mixer = None
mixer_fallback = None
connector = None
def __init__(self, config):
......@@ -90,14 +85,10 @@ class Engine():
"""
self.event_dispatcher = EngineEventDispatcher(self, self.scheduler)
# Sleep needed, because the socket is created too slowly by Liquidsoap
time.sleep(1)
self.player = Player(self.config, self.event_dispatcher)
# self.mixer = Mixer(self.config, MixerType.MAIN, self.connector)
# self.mixer_fallback = Mixer(self.config, MixerType.FALLBACK, self.connector)
self.is_liquidsoap_running = True
self.event_dispatcher.on_initialized()
self.logger.info(SU.green("Engine Core ------[ connected ]-------- Liquidsoap"))
......@@ -213,9 +204,6 @@ class Player:
channels = None
channel_router = None
event_dispatcher = None
# Mixer
mixer = None
mixer_fallback = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment