Commit Graph

15 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 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 31fd85a29f Fixed bug where the metadata was not loading correctly in StoredFile.
Added more descriptive titles to Playlist UnitTests.

Added a test to get that the media file clip length is set/get correctly.
2010-11-15 17:02:18 -05:00
paul.baranowski fc8c964d52 Fixed StoredFile constructor to only load metadata when passing in an ID.
Added a test for StoredFile::loadMetadata().
2010-11-15 15:58:48 -05:00
naomiaro eafd10a669 playlist tests, prob will work when file meta data is working. 2010-11-15 13:22:09 -05:00
naomiaro 65a823561d Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	backend/tests/PlaylistTests.php
2010-11-15 11:01:00 -05:00
naomiaro 5352d7d4ef test editing. 2010-11-15 10:52:45 -05:00
naomiaro f1f8badd16 Playlist tests updated 2010-11-15 10:52:14 -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 fcea57f011 PL ORM changes, templates 2010-11-09 16:52:09 -05:00
naomiaro 6d12646517 test requires modified 2010-10-04 12:28:51 -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 e946e6a84e CC-1695 Remove Campcaster Studio and make install easier
Changed backend dir to new structure
2010-09-30 16:02:15 -04:00