forked from rc/aircox
110fac70a6 n'est pas lié à #123 (tu peux l'ignorer ici mais rc/aircox#122 (comment)) 04f5c3208a : nettoyage d'anciens tests, je ne suis pas parvenu à rétablir le dernier, je l'ai préfixé avec broken_. Il y aurait aussi à supprimer/corriger aircox/tests/management/_test_sound_monitor.py 5a75f42808 : le correctif qui permet d'ajouter des sons dans une émission à l'aide de la commande `sounds_scan`. Co-authored-by: Christophe Siraut <d@tobald.eu.org> Reviewed-on: rc/aircox#125 Co-authored-by: Chris Tactic <chris@tacticasbl.be> Co-committed-by: Chris Tactic <chris@tacticasbl.be>
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