General: * Moved pypo author info into one file * Added two database columns in schedule table: "schedule_group_played" and "media_item_played". API clients: * Created get_liquidsoap_data() function which allows you to give arbitrary data to liquidsoap. * Added documentation * Renamed functions to make it more obvious what is happening pypo_cli: * Got rid of more constants that were not needed * Created function set_export_source() to reduce code repetition * Separated the downloading of the schedule from tracking what has been played. The tracking info is now kept in a separate file. This fixes the major bug that the playlist keeps restarting for the first minute of playback. * converted more print statements to debug statements pypoTester: * Now uses samples from the audio_samples directory, and schedules two audio clips back-to-back. |
||
---|---|---|
.. | ||
library | ||
README | ||
cue_file.py | ||
include_daypart.liq | ||
include_dynamic_vars.liq | ||
include_live_in.liq | ||
include_notify.liq | ||
include_scheduler.liq | ||
library.liq | ||
log_run.sh | ||
ls_config.liq | ||
ls_config.liq.dist | ||
ls_cue.liq | ||
ls_run.sh | ||
ls_script.liq | ||
notify.sh | ||
pypo_log.sh | ||
silence.mp3 |
README
This directory contains scripts not directly related to pypo These mainly are things related to liquidsoap & playout I added those scripts here to have them at hand for development and also to update/share them via svn scripts here: - ls_run.sh wrapper to run liquid soap. makes sure that the "current" playlist is filled with silence - ls_script.liq (called by ls_run.sh) the main liquidsoap control-script - ls_cue.liq (included by ls_script.liq) contains a custom protocol that registers the cue-in/out values from the playlist script - cue_file.py (called by ls_cue.liq) a wrapper that does the actual cutting. it is called with: path_to_file[path] cue_in[ss.ms] cue_out[ss.ms] and does the mp3 cutting (with mp3cut) returns a temporary file that can be used by ls (make sure to set "TEMP_DIR" in script)