2013-12-13 17:59:46 +01:00
|
|
|
TechRec
|
2013-11-26 14:31:18 +01:00
|
|
|
=======
|
2013-11-24 23:43:56 +01:00
|
|
|
|
2013-11-26 14:31:18 +01:00
|
|
|
A Python2 web application that assist radio speakers in recording their shows.
|
|
|
|
At the moment, it relies on some details that are specific of our radio (like
|
|
|
|
the directory/format of the continous recording).
|
2013-12-13 17:59:46 +01:00
|
|
|
It is however quite simple to change that specific portion of code, as it is
|
|
|
|
modular and all in `forge.py`
|
|
|
|
|
|
|
|
Features
|
|
|
|
=========
|
|
|
|
|
|
|
|
* The interface is extremely simple to use
|
|
|
|
* You can have nested recording (ie: to record an interview inside of a whole
|
|
|
|
show)
|
|
|
|
* There is no user system: any user opening the website will see the complete
|
|
|
|
status of the applications. There is, also, nothing stored in cookie or
|
|
|
|
similar mechanisms. This means that recording a session does not require a
|
|
|
|
browser to remain open, or any kind of persistence client-side: server-side
|
|
|
|
does it all.
|
|
|
|
* The audio generation has a simple design, so switching from `ffmpeg` to,
|
|
|
|
say, `vlc` is simple
|
2013-11-24 23:43:56 +01:00
|
|
|
|
2013-11-26 14:31:18 +01:00
|
|
|
Implementation details
|
|
|
|
======================
|
2013-11-24 23:43:56 +01:00
|
|
|
|
2013-11-26 15:50:59 +01:00
|
|
|
It is based on bottle, to get a minimal framework. Simple APIs are offered
|
2013-11-26 14:31:18 +01:00
|
|
|
through it, and the static site uses them.
|
2013-11-24 23:43:56 +01:00
|
|
|
|
2013-12-13 17:59:46 +01:00
|
|
|
Jobs are not dispatched using stuff like celery, but with a thin wrapper over
|
|
|
|
`multiprocessing.Pool`; this is just to keep the installation as simple as
|
|
|
|
possible.
|
2013-11-26 15:50:59 +01:00
|
|
|
|
2013-12-13 17:59:46 +01:00
|
|
|
The encoding part is delegated to `ffmpeg`
|