aircox/aircox_streamer
Thomas Kairos a24318bc84 #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138)
#137

Deployment: **Upgrade to Liquidsoap 2.4**: code has been adapted to work with liquidsoap 2.4

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #138
2024-04-05 18:45:15 +02:00
..
controllers #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138) 2024-04-05 18:45:15 +02:00
locale/fr/LC_MESSAGES feat: add error message page; improve admin ui; add missing test files 2023-09-12 21:00:44 +02:00
management/commands #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138) 2024-04-05 18:45:15 +02:00
templates/aircox_streamer #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138) 2024-04-05 18:45:15 +02:00
tests #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138) 2024-04-05 18:45:15 +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 Feat: packaging (#127) 2023-10-11 10:58:34 +02:00
README.md code quality 2023-03-13 17:47:00 +01:00
serializers.py #106: tests: aircox_streamer (#110) 2023-06-18 17:00:08 +02:00
urls.py #106: tests: aircox_streamer (#110) 2023-06-18 17:00:08 +02:00
views.py #106: tests: aircox_streamer (#110) 2023-06-18 17:00:08 +02:00
viewsets.py #137: Sound et EpisodeSound, dashboard UI improvements (into #121) (#138) 2024-04-05 18:45:15 +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;