aircox/aircox
Thomas Kairos 0e183099ed #88 #89 : use pytest + reorganise settings (#92)
- !88 pytest on existing tests
- !89 reorganise settings (! see notes for deployment)

Co-authored-by: bkfox <thomas bkfox net>
Reviewed-on: #92
2023-03-28 14:40:49 +02:00
..
admin code quality 2023-03-13 17:47:00 +01: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
models #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +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 code quality 2023-03-13 17:47:00 +01:00
templatetags code quality 2023-03-13 17:47:00 +01:00
tests #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +02:00
views code quality 2023-03-13 17:47:00 +01: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
settings.py #88 #89 : use pytest + reorganise settings (#92) 2023-03-28 14:40:49 +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