aircox-radiocampus/aircox
2017-01-11 00:05:55 +01:00
..
locale/fr/LC_MESSAGES add missing translation for Publication.body 2017-01-08 22:50:12 +01:00
management kill zombie liquidsoap 2017-01-11 00:05:55 +01:00
static/aircox work on monitor 2016-11-26 17:32:30 +01:00
templates/aircox fix liquidsoap output.settings in templates 2016-12-31 16:41:28 +01:00
__init__.py issue #1: synchronise programs' schedules and later diffusions (update, delete); fix signal import in apps 2016-10-13 01:22:14 +02:00
admin.py sound admin fields display 2017-01-09 14:43:13 +01:00
apps.py fix bugs on signals 2016-11-14 13:35:15 +01:00
connector.py fix bugs on signals 2016-11-14 13:35:15 +01:00
controllers.py kill zombie liquidsoap 2017-01-11 00:05:55 +01:00
models.py make it working 2017-01-09 16:20:15 +01:00
README.md fix bugs on signals 2016-11-14 13:35:15 +01:00
settings.py settings.AIRCOX_DEFAULT_USER_GROUPS: multiple groups with customizable permissions 2016-12-29 19:07:39 +01:00
signals.py settings.AIRCOX_DEFAULT_USER_GROUPS: multiple groups with customizable permissions 2016-12-29 19:07:39 +01:00
tests.py merge aircox and aircox_instance 2016-10-10 15:04:15 +02:00
urls.py fix bugs on signals 2016-11-14 13:35:15 +01:00
utils.py fix bugs on signals 2016-11-14 13:35:15 +01:00
views.py kill zombie liquidsoap 2017-01-11 00:05:55 +01:00

Aircox Programs

This application defines all base models and basic control of them. We have:

  • Nameable: generic class used in any class needing to be named. Includes some utility functions;
  • Station: a station
  • Program: the program itself;
  • Diffusion: occurrence of a program planified in the timetable. For rerun, informations are bound to the initial diffusion;
  • Schedule: describes diffusions frequencies for each program;
  • Track: track informations in a playlist of a diffusion;
  • Sound: information about a sound that can be used for podcast or rerun;
  • Log: logs

Architecture

A Station is basically an object that represent a radio station. On each station, we use the Program object, that is declined in two different types:

  • Scheduled: the diffusion is based on a timetable and planified through one Schedule or more; Diffusion object represent the occurrence of these programs;
  • Streamed: the diffusion is based on random playlist, used to fill gaps between the programs;

Each program has a directory in AIRCOX_PROGRAMS_DIR; For each, subdir:

  • archives: complete episode record, can be used for diffusions or as a podcast
  • excerpts: excerpt of an episode, or other elements, can be used as a podcast

manage.py's commands

  • diffusions_monitor: update/create, check and clean diffusions; When a diffusion is created its type can be set on "unconfirmed" (this depends on the approval mode).
  • sound_monitor: check for existing and missing sounds files in programs directories and synchronize the database. Can also check for the quality of file and synchronize the database according to them.
  • sound_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