aircox/aircox_streamer
Chris Tactic 55123c386d #132 | #121: backoffice / dev-1.0-121 (#131)
cfr #121

Co-authored-by: Christophe Siraut <d@tobald.eu.org>
Co-authored-by: bkfox <thomas bkfox net>
Co-authored-by: Thomas Kairos <thomas@bkfox.net>
Reviewed-on: #131
Co-authored-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
Co-committed-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
2024-04-28 22:02:09 +02:00
..
controllers #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
locale/fr/LC_MESSAGES #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
management/commands Update 'aircox_streamer/management/commands/streamer.py' 2023-11-26 21:41:52 +01:00
templates #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
tests #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
__init__.py create aircox_streamer as separate application 2019-09-19 15:22:56 +02:00
apps.py code quality 2023-03-13 17:47:00 +01:00
conf.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
connector.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
README.md code quality 2023-03-13 17:47:00 +01:00
serializers.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
urls.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
views.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +02:00
viewsets.py #132 | #121: backoffice / dev-1.0-121 (#131) 2024-04-28 22:02:09 +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;