Jonas L. f33518d637
fix: remove potential deadlock in liquidsoap client (#3165)
### Description

Remove the liquidsoap connection lock to remove any chance to run into a
deadlock. With this change, the client is not thread safe anymore.

Also handle connection error exception when talking to liquidsoap, e.g.
when liquidsoap is restarted and closes the telnet connection.

**This is a new feature**:

No

**I have updated the documentation to reflect these changes**:

Not relevant.

### Testing Notes

- Restart liquidsoap while playout is talking to it.
- See the connection being dropped and playout that might run into a
deadlock.
2025-06-14 15:45:54 +02:00
..
2023-03-14 14:59:45 +00:00

LibreTime Playout

LibreTime Playout is a service that will ingest a schedule and stream it.

Development

# Install dependencies
make install
# Activate the development environment
source .venv/bin/activate

# Run linters
make lint

# Run tests
make test

# See the Makefile for more commands
cat Makefile

History

This tool was born out of a collaboration between Open Broadcast and Sourcefabric.

The authors of the code are:

Original Authors:

Almost a complete refactor/rewrite by: Martin Konecny martin.konecny@gmail.com