2 Commits

Author SHA1 Message Date
paul.baranowski
f6080261b9 Changed StoredFile::Insert() to do everything for you if you dont pass in stuff.
This makes writing tests much easier.  This also simplifies the campcaster-import
script.

Changed BasicStor::bsSetMetadataBatch() to do one query for all values instead
of one query for each value to update.  This speeds up campcaster-import by about
10%.
2010-09-21 19:43:47 -04:00
paul.baranowski
f4d260b02d CC-1672 Implement scheduler class in PHP
Part 1 of this implementation
This implementation keeps the playlists separate from the scheduler.
The scheduler keeps it's own copy of the list of things to play.

Support for adding single audio files to the scheduler is mostly implemented.
Adding playlists is not supported yet.

Added Scheduler.php class.
Added unit tests for Scheduler.

Updated install & upgrade file with new table structure.

Removed a lot of old defunct unit test stuff from storageServer /var/tests dir.
2010-09-21 16:32:04 -04:00