Commit Graph

3078 Commits

Author SHA1 Message Date
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 ef8b8dc54d Removed unneeded file. 2010-11-19 15:55:40 -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 67d82d1de6 Fixed bug when adding a playlist to the scratchpad. 2010-11-19 15:52:30 -05:00
paul.baranowski a643e4c755 Fixed all unit tests, they are all working now. 2010-11-19 15:51:58 -05:00
paul.baranowski 1786501b10 Added apiPath to config file. 2010-11-18 18:01:20 -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 d5b50ffdca Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-18 14:41:20 -05:00
paul.baranowski 8014f94c58 Fixed whitespace to standard coding conventions. 2010-11-18 14:39:03 -05:00
naomiaro 56abfaf28e using fieldnames in propel not phpnames 2010-11-18 10:24:05 -05:00
naomiaro 52fe579ce4 making propel use fieldnames not php names in playlist getcontents 2010-11-17 18:08:46 -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 228aca224e Got rid of function getAudioClipInfo(). 2010-11-15 16:35:55 -05:00
naomiaro fa186be7a1 id variable change for metadata. 2010-11-15 16:16:15 -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 351983c3c4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-12 17:07:12 -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 d65cc390a5 DateTime stuff for PHP 5.3
ini_get('date.timezone') seems to not behave properly though... defaults to America/Toronto.
2010-11-12 11:02:27 -05:00
naomiaro 4022afa8b9 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-11 20:49:23 -05:00
naomiaro e1b6ee8d46 propel changes for playlist. 2010-11-11 20:48:53 -05:00
paul.baranowski 35dc3fd01f CC-1713 - New storage directory structure
Changed the GUNID to a 32 hex string (MD5 value), there is no more
conversion between hex strings and bigints in the database anymore.

Added added the file extension to the file name.

Stored the complete path to the file in the database.  This means that
linking doesnt need to create any files at all. (It used to create a
symlink to the file you were importing)

The structure and file naming should be fine - there are 4096 possibilities
for the first directory level, and even will a million files this is only
244 files per sub-directory.  The GUID is fine for the file name
2010-11-11 16:50:30 -05:00
paul.baranowski 3879d1c7d4 Fixed CleanStor.php script so that it works again, it was still set
to work in the old directory structure.
2010-11-11 13:22:04 -05:00
naomiaro f7dc117417 subsecond getter/setter overrides. 2010-11-10 15:30:05 -05:00
naomiaro d6caebe49a saving database row for fades... 2010-11-09 17:02:13 -05:00
naomiaro fcea57f011 PL ORM changes, templates 2010-11-09 16:52:09 -05:00
naomiaro 2570698ba7 added path to phong and Log php libraries. 2010-11-09 09:43:09 -05:00
naomiaro 06cb25a68b libraries for propel 2010-11-08 23:16:28 -05:00
naomiaro 1e0cba6a63 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-08 17:21:28 -05:00
naomiaro 9f79b1bf89 converting more of playlist.php to propel ORM. 2010-11-08 17:19:01 -05:00
paul.baranowski 4e1ba506aa Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-08 16:55:23 -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 d5546c3952 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-05 13:03:39 -04:00
naomiaro 051cc243ca call propel-gen to load sql in database. 2010-11-05 13:03:16 -04:00
ohrstrom d6eb1412b7 initial pypo commit 2010-11-05 15:54:15 +01:00
naomiaro e53804f1ed changed for propel 2010-11-04 18:01:31 -04:00
naomiaro a6766d38d4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-04 17:54:14 -04:00
naomiaro f91af23cd7 default db connection 2010-11-04 17:53:55 -04:00
naomiaro c4391eb287 putting default database connection info 2010-11-04 17:51:30 -04:00
naomiaro 842bda3e98 change made to match time data types. 2010-11-04 17:49:27 -04:00
naomiaro 0c74dc5a43 propel added as ORM for backend 2010-11-04 17:48:29 -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 6041230326 CC-1433 Storage server: Once a file is deleted from the database, it can't be added again
Disable the use of the "trash".  Files will now really be deleted.
Also removed some config stuff that is no longer used.
2010-10-27 18:34:24 -04:00
naomiaro fe5337e9db small fixes to wekk view of scheduler 2010-10-19 05:57:28 -04:00