sintonia/3rd_party/pypo/scripts
paul.baranowski 3613812012 Pypo fixes and improvements
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.
2010-11-29 18:34:22 -05:00
..
library initial pypo commit 2010-11-05 15:54:15 +01:00
README initial pypo commit 2010-11-05 15:54:15 +01:00
cue_file.py Pypo fixes and improvements 2010-11-29 18:34:22 -05:00
include_daypart.liq initial pypo commit 2010-11-05 15:54:15 +01:00
include_dynamic_vars.liq Pypo fixes and improvements 2010-11-29 18:34:22 -05:00
include_live_in.liq initial pypo commit 2010-11-05 15:54:15 +01:00
include_notify.liq Pypo fixes and improvements 2010-11-29 18:34:22 -05:00
include_scheduler.liq initial pypo commit 2010-11-05 15:54:15 +01:00
library.liq initial pypo commit 2010-11-05 15:54:15 +01:00
log_run.sh initial pypo commit 2010-11-05 15:54:15 +01:00
ls_config.liq initial pypo commit 2010-11-05 15:54:15 +01:00
ls_config.liq.dist Pypo fixes and improvements 2010-11-29 18:34:22 -05:00
ls_cue.liq Pypo fixes and improvements 2010-11-29 18:34:22 -05:00
ls_run.sh initial pypo commit 2010-11-05 15:54:15 +01:00
ls_script.liq initial pypo commit 2010-11-05 15:54:15 +01:00
notify.sh initial pypo commit 2010-11-05 15:54:15 +01:00
pypo_log.sh initial pypo commit 2010-11-05 15:54:15 +01:00
silence.mp3 Added free audio samples from OpSound, removed old audio samples referring 2010-11-24 17:57:55 -05:00

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)