aircox/aircox_streamer
2023-06-17 17:09:43 +02:00
..
controllers write tests for serializers; add controllers.streamers + tests 2023-06-17 17:09:43 +02:00
locale/fr/LC_MESSAGES translation 2022-05-21 16:37:11 +02:00
management/commands code quality 2023-03-13 17:47:00 +01:00
templates/aircox_streamer code quality 2023-03-13 17:47:00 +01:00
tests write tests for serializers; add controllers.streamers + tests 2023-06-17 17:09:43 +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
connector.py write tests for streamer 2023-06-12 14:09:06 +02:00
README.md code quality 2023-03-13 17:47:00 +01:00
serializers.py write metadata tests; start source tests 2023-06-11 15:10:31 +02:00
tests.py code quality 2023-03-13 17:47:00 +01:00
urls.py write tests for serializers; add controllers.streamers + tests 2023-06-17 17:09:43 +02:00
views.py write tests for serializers; add controllers.streamers + tests 2023-06-17 17:09:43 +02:00
viewsets.py write tests for serializers; add controllers.streamers + tests 2023-06-17 17:09:43 +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;