aircox/programs
2015-09-18 12:46:04 +02:00
..
locale/fr_BE/LC_MESSAGES first push 2015-06-11 18:25:24 +02:00
management add website app, move articles to it, fix programs.models 2015-09-18 12:46:04 +02:00
__init__.py first push 2015-06-11 18:25:24 +02:00
admin.py add website app, move articles to it, fix programs.models 2015-09-18 12:46:04 +02:00
autocomplete_light_registry.py update tracks, work on admin, fix stuff and models 2015-08-24 21:08:26 +02:00
forms.py update tracks, work on admin, fix stuff and models 2015-08-24 21:08:26 +02:00
models.py add website app, move articles to it, fix programs.models 2015-09-18 12:46:04 +02:00
README.md add website app, move articles to it, fix programs.models 2015-09-18 12:46:04 +02:00
requirements.txt fixes, updates 2015-09-15 16:50:12 +02:00
settings.py monitor matching is based on diffusion 2015-08-20 01:28:08 +02:00
tests.py first push 2015-06-11 18:25:24 +02:00

This application defines all base classes for the aircox platform. This includes:

  • Metadata: generic class that contains metadata
  • Publication: generic class for models that can be publicated
  • Track: informations on a track in a playlist
  • SoundFile: informations on a sound (podcast)
  • Schedule: schedule informations for programs
  • Article: simple article
  • Program: radio program
  • Episode: occurence of a radio program
  • Event: log info on what has been or what should be played

Program

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

  • public: public sound files and data (accessible from the website)
  • private: private sound files and data
  • podcasts: podcasts that can be upload to external plateforms

Event

Event have a double purpose:

  • log played sounds
  • plannify diffusions

manage.py schedule

Return the next songs to be played and the schedule and the programmed emissions

manage.py monitor

The manage.py has a command monitor that:

  • check for new sound files
  • stat the sound files
  • match sound files against episodes and eventually program them
  • upload public podcasts to mixcloud if required

The command will try to match file name against a planified episode by detecting a date (ISO 8601 date notation YYYY-MM-DD or YYYYMMDD) as name prefix

Tags set:

  • incorrect: the sound is not correct for diffusion (TODO: parameters)