aircox-radiocampus/aircox
Thomas Kairos b453c821c7 #106: tests: aircox_streamer (#110)
- Writes tests for aircox streamer application;
- Add test utilities in aircox

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: rc/aircox#110
2023-06-18 17:00:08 +02:00
..
admin #93: reorganise Rerun, Diffusion, Schedule module (#95) 2023-04-02 20:37:47 +02:00
locale/fr/LC_MESSAGES various fixes 2022-12-12 12:29:05 +01:00
management #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +02:00
migrations #93: reorganise Rerun, Diffusion, Schedule module (#95) 2023-04-02 20:37:47 +02:00
models #97: Schedule default timezone error + episode model tests (#98) 2023-04-18 18:27:33 +02:00
serializers code quality 2023-03-13 17:47:00 +01:00
static/aircox code quality 2023-03-13 17:47:00 +01:00
templates #93: reorganise Rerun, Diffusion, Schedule module (#95) 2023-04-02 20:37:47 +02:00
templatetags code quality 2023-03-13 17:47:00 +01:00
tests Merge branch 'develop-1.0' of git.radiocampus.be:rc/aircox into develop-1.0 2023-04-18 18:49:10 +02:00
views #93: reorganise Rerun, Diffusion, Schedule module (#95) 2023-04-02 20:37:47 +02:00
__init__.py code quality 2023-03-13 17:47:00 +01:00
admin_site.py code quality 2023-03-13 17:47:00 +01:00
apps.py code quality 2023-03-13 17:47:00 +01:00
conf.py #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +02:00
converters.py code quality 2023-03-13 17:47:00 +01:00
filters.py code quality 2023-03-13 17:47:00 +01:00
forms.py code quality 2023-03-13 17:47:00 +01:00
middleware.py code quality 2023-03-13 17:47:00 +01:00
README.md code quality 2023-03-13 17:47:00 +01:00
test.py #106: tests: aircox_streamer (#110) 2023-06-18 17:00:08 +02:00
urls.py code quality 2023-03-13 17:47:00 +01:00
utils.py #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +02:00
viewsets.py code quality 2023-03-13 17:47:00 +01:00

Aircox

Aircox application aims to provide basis of a radio management system.

Architecture

A Station contains programs that can be scheduled or streamed. A Scheduled Program is a regular show that has planified diffusions of its occurences (episodes). A Streamed Program is a program used to play randoms musics between the shows.

Each program has a directory on the server where user puts its podcasts (in AIRCOX_PROGRAM_DIR). It contains the directories archives (complete show's podcasts) and excerpts (partial or whatever podcasts).

manage.py's commands

  • diffusions: update/create, check and clean diffusions based on programs schedules;
  • import_playlist: import a playlist from a csv file, and associate it to a sound;
  • sounds_monitor: check for existing and missing sounds files in programs directories and synchronize the database. It can check for the quality of file and update sound info.
  • sounds_quality_check: check for the quality of the file (don't update database);

Requirements

  • Sox (and soxi): sound file monitor and quality check
  • requirements.txt for python's dependecies