Commit Graph

10 Commits

Author SHA1 Message Date
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
paul.baranowski 10caa36c70 Added free audio samples from OpSound, removed old audio samples referring
to LiveSupport.  Added License information for the audio samples.

Added a working silence file.

Pypo:
Changed the Campcaster API client to ignore playlists that have already past.

Updated "cleanup()" function with Jonas fixes.

Cleanup up a lot of print statements, converted to debug statements.

Added missing data from the Campcaster JSON export.
2010-11-24 17:57:55 -05:00
paul.baranowski 8e7e0226e6 Fixed some API stuff to return the right values for pypo.
Created a test script to schedule a test file one minute after running it.
Moved the database connection initialization to conf.php instead of in
ui_conf.php.
Changed some includes to rely on the pear path instead of specifying it
directly in the include.  This will make it easier to use the system
defaults (for Ubuntu/Debian for example).
2010-11-23 19:21:05 -05:00
paul.baranowski a643e4c755 Fixed all unit tests, they are all working now. 2010-11-19 15:51:58 -05:00
paul.baranowski 7ade83ae74 Fixes to the liquidsoap scheduler and the API.
Added a test() function to api_client.
Fixed bug with the config file.
Added line numbers to the logging.
2010-11-18 18:00:13 -05:00
paul.baranowski 8014f94c58 Fixed whitespace to standard coding conventions. 2010-11-18 14:39:03 -05:00
paul.baranowski 8a58df3093 Moved all file-related functions from BasicStor into StoredFile class.
Got rid of all the stuff related to GUNID hex-to-int conversion.
Commented out lots of functions that are either not in use or will
no longer work.

Pypo: made things more generic and pluggable, added documentation.
Added the PHP scripts to serve the right info back to pypo.
2010-11-12 17:07:01 -05:00
paul.baranowski 4a055dde50 Started integration of pypo with Campcaster. Refactored pypo so that
it can work with either OBP or Campcaster.  Added the liquidsoap
binary.  Started to add the PHP API scripts to send the correct data
to pypo (those these are not pretty - all one-off scripts for each
API command). Added Zend to the default path.
2010-11-08 16:54:54 -05:00
naomiaro 5750f38343 fixing gui so playlists can again be scheduled, removed. 2010-10-19 04:58:48 -04:00
paul.baranowski e946e6a84e CC-1695 Remove Campcaster Studio and make install easier
Changed backend dir to new structure
2010-09-30 16:02:15 -04:00