Files
aircox-radiocampus/aircox_streamer
Thomas Kairos f7a61fe6c0 Feat: packaging (#127)
- Add configuration files for packaging
- Precommit now uses ruff

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: rc/aircox#127
2023-10-11 10:58:34 +02:00
..
2023-10-11 10:58:34 +02:00
2023-03-13 17:47:00 +01:00
2023-10-11 10:58:34 +02:00
2023-03-13 17:47:00 +01:00
2023-10-11 10:58:34 +02:00
2023-03-13 17:47:00 +01:00
2023-06-18 17:00:08 +02:00
2023-06-18 17:00:08 +02:00
2023-10-11 10:58:34 +02:00

Aircox Streamer

This application handles interfacing Aircox with Liquidsoap:

  • generate for each station liquidsoap configuration files;
  • handle played diffusions, sounds files and tracks;
  • launch program's diffusion from sound files;
  • provide admin interface and API in order to control liquidsoap;

Architecture

aircox_streamer Django application provides management command streamer, which can be run in virtualenv from shell: ./manage.py streamer.

This application allows to:

  • launch Liquidsoap;
  • generate config file and playlists: regular Django template file in scripts/station.liq;
  • monitor what is being played and what has to be played using Telnet to communicate with Liquidsoap process;