@@ -46,9 +46,8 @@ There's a convenience script to start all of the three main dependencies (Steeri
...
@@ -46,9 +46,8 @@ There's a convenience script to start all of the three main dependencies (Steeri
## Engine Components
## Engine Components
**engine-core.py**: It is the server which is connected to the external programme source (e.g. aura steering and tank), to liquidsoap and is listening for redis pubsub messages. This precious little server is telling liquidsoap what to play and when.
*...TBD...*
**Liquidsoap**: The heart of AURA Engine. It uses the built in mixer, to switch between different sources.
## API
## API
...
@@ -60,7 +59,7 @@ OpenAPI definition for Engine API: https://app.swaggerhub.com/apis/AURA-Engine/e
...
@@ -60,7 +59,7 @@ OpenAPI definition for Engine API: https://app.swaggerhub.com/apis/AURA-Engine/e
When you start Engine the following is happening:
When you start Engine the following is happening:
1. Python `engine-core.py`: Initializes `modules/core/engine.py` (The virtual mixer; class for remote-controlling Liquidsoap), Scheduler and the Redis Server
1. Python `engine-core.py`: Initializes `modules/core/engine.py` (The virtual mixer; class for remote-controlling Liquidsoap), Scheduler
2. Python `engine-core.py`: Start Liquidsoap.
2. Python `engine-core.py`: Start Liquidsoap.
3. Liquidsoap: When Liquidsoap finished its startup, it creates a socket file as configured in `socketdir` of `engine.ini`.
3. Liquidsoap: When Liquidsoap finished its startup, it creates a socket file as configured in `socketdir` of `engine.ini`.
4. Python `modules/core/liquidsoap/client.py`: Connects to that socket file.
4. Python `modules/core/liquidsoap/client.py`: Connects to that socket file.