Commit Graph

20 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 a138424451 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-29 14:39:44 -05:00
Daniel James 3e84ec1132 Fixed more out of date references to Campware and LiveSupport 2010-11-29 16:20:17 +00:00
paul.baranowski d7337be553 Added License info for the project, as well as info about how our
software is compatible with 3rd party libs.

Removed files in pypo that are no longer used.
Added AUTHORS file to pypo.

Renamed "LS Live Feed.ogg" to "LiveFeed.ogg".
2010-11-25 16:43:32 -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 a1995671ad Made the pypo code more modular, moved large chunks of code into their own functions. 2010-11-19 15:53:57 -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 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
naomiaro 06cb25a68b libraries for propel 2010-11-08 23:16:28 -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
ohrstrom d6eb1412b7 initial pypo commit 2010-11-05 15:54:15 +01:00
naomiaro a6766d38d4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-04 17:54:14 -04:00
naomiaro 649656779c propel library added to 3rd party php tools 2010-11-04 17:47:31 -04:00
paul.baranowski 1a5edd9a4e Added Zend 1.10.8 library. 2010-11-04 17:40:43 -04:00
paul.baranowski 2ece374513 CC-1695 Remove Campcaster Studio and make install easier
Fixed references to files for new directory structure for the backend stuff.
2010-09-30 16:59:38 -04:00
paul.baranowski acda23db88 CC-1695 Remove Campcaster Studio and make install easier
Moved Smarty
2010-09-30 15:52:08 -04:00
paul.baranowski 81d499060b CC-1695 Remove Campcaster Studio and make install easier 2010-09-30 15:46:44 -04:00
paul.baranowski 89a138b5f8 CC-1695 Remove Campcaster Studio and make install easier 2010-09-30 15:41:08 -04:00
paul.baranowski b69ae200cf CC-1695 Remove Campcaster Studio and make install easier
Creating new directory structure.
2010-09-30 15:40:11 -04:00