Commit Graph

122 Commits

Author SHA1 Message Date
fgerlits 50b7537712 In PostgresqlSchedule and PostgresqlPlayLog, now we read and write UniqueId's
as string's instead of Long's (which should be == long long, but due to a bug
in libodbc++, it is in fact == long).
2005-03-24 11:40:29 +00:00
maroy 0b72824f47 updated tests to reflect added playlog to playlist events 2005-03-23 09:02:14 +00:00
maroy 4b6eeadb27 added play logging, when the scheduler is executing playlists.. 2005-03-21 12:56:46 +00:00
fgerlits 63ee21174a fixed bug #656 2005-03-19 14:20:18 +00:00
fgerlits 7acb1b1ada changed PostgresqlSchedule::getScheduleEntries to return schedule entries
which started before the interval, but end in it, or after it.
2005-03-18 13:22:14 +00:00
fgerlits c7ba993c18 updated TestStorageClient test data to be in line with the test data of
WebStorageClient (i.e., of the php storageServer)
2005-03-12 22:39:26 +00:00
fgerlits 892d7d132f added 7 scheduler methods to schedulerClient 2005-02-07 21:35:21 +00:00
fgerlits e85731b8e6 added conversion to/from XmlRpcValue to AudioClip and Playlist;
modified Scheduler methods to use these conversions;
fixed bug in Scheduler: some methods caught wrong kind of exception;
modified Playlist to accept several PlaylistElements at the same
  relative offset;
modified methods for deleting playlist elements and updating fade info
  to refer to playlist elements by ID, not relative offset
2005-02-05 08:12:37 +00:00
fgerlits aca8977831 cleaned up Playlist, AudioClip etc. 2005-02-03 18:52:27 +00:00
fgerlits f1701e9477 added the last remaining tests of the XML-RPC methods (Rpc...Test classes) 2005-02-01 16:32:57 +00:00
fgerlits 2d4c16a1d3 added login, logout and resetStorage XML-RPC methods to scheduler daemon;
fixed the existing 'Rpc...Test's, and added some more
2005-01-31 19:51:25 +00:00
fgerlits bc49af1e38 added reset() method to StorageClientInterface;
modified scheduler tests to use this reset() method;
changed getAllPlaylists() and getAllAudioClips() in StorageClientInterface
  to use the search() method, and added optional limit and offset arguments;
changed the Makefile.in in modules/storage and products/scheduler to
  initialize the storage server after compilation and before running tests;
modified some scheduler tests to work correctly with either Test- or
  Web- StorageClient
2005-01-27 20:20:15 +00:00
fgerlits 56e7c95d2a commented some helix player tests out (they segfault);
added 'make reset' to scheduler Makefile.in;
added storage server initialization to authentication Makefile.in
2005-01-27 12:34:35 +00:00
fgerlits e273b4eb80 modified storage test data to make the testStorageClient and the webS.C.
more similar
2005-01-26 17:51:34 +00:00
fgerlits 8941c30c27 put storageClient.xml back 2005-01-26 16:23:55 +00:00
fgerlits c69aeb7340 added these two; should not have remove storageClient.xml 2005-01-26 16:23:16 +00:00
fgerlits a6b3040642 added (id3 to dc) tag conversion table initialization to scheduler 2005-01-26 12:41:51 +00:00
fgerlits 047a6ba6d0 added function readTag() to AudioClip class to read ID3v2 tag info 2005-01-25 18:21:42 +00:00
maroy 39aabfecf2 removed unnecessary class keyword 2005-01-18 15:43:16 +00:00
maroy 548cd8cf20 chaned script and makefile to honor already existing LD_LIBRARY_PATH
environment variable
2005-01-18 15:41:15 +00:00
fgerlits 72387302c0 changed the return value of createPlaylist() to Ptr<UniqueId>::Ref 2005-01-14 12:29:05 +00:00
fgerlits bb3b36e45a added a call to close() after every use of XmlRpcClient 2005-01-13 16:54:55 +00:00
fgerlits 5c5e8c7de9 Updated the methods in the scheduler module to use the changed storage client
interface.
Re-formatted try-catch blocks everywhere to make them less readable.
2005-01-12 20:28:31 +00:00
fgerlits dff985ecb2 added C++ API in the authentication module for the new storage server
methods loadPref and savePref
2005-01-10 21:31:08 +00:00
maroy 9adcedb8a4 added scheduled event update / reread functionality 2005-01-10 11:03:25 +00:00
maroy 9a185bb141 fixed playlist event
now scheduler correclty plays scheduled events
2005-01-10 09:36:24 +00:00
maroy 2ba3b1d751 fixed reading long ids from the postgresql database 2005-01-09 16:27:33 +00:00
maroy 8c64d58be5 corrected UniqueId reading, but only in one method.. 2005-01-09 16:01:50 +00:00
maroy 630d91fdfe added run_web target 2005-01-09 16:01:17 +00:00
maroy 55f9031672 added configuration to use web-based resources for storage 2005-01-09 10:57:46 +00:00
maroy 4eac8957fd moved LiveSupport::Storage::StorageException and derivatives to
LiveSupport::Core::XmlRpcException
2005-01-08 12:40:33 +00:00
fgerlits 0cf03f59bb changed #includes to refer to the XmlRpcTools in Core
removed XmlRpcTools and PlayLogEntry from Scheduler
2005-01-07 19:39:38 +00:00
fgerlits 7dfcde7c3b changed #includes to refer to the XmlRpcTools in Core
removed XmlRpcTools and PlayLogEntry from Scheduler
2005-01-07 19:30:29 +00:00
maroy 21485a6d01 removed 'cd -' from the end of statements that were like
dirname=`cd somethere; pwd; cd -`
2005-01-07 14:04:29 +00:00
maroy c80f18b5aa moved ScheduleEntry from LiveSupport::Scheduler to LiveSupport::Core 2005-01-07 13:12:43 +00:00
fgerlits 7259599ce1 changed all(*) XML-RPC references to unique IDs to string, and all(*)
PostgreSQL references to BIGINT.

* that I could think of
2005-01-05 19:50:01 +00:00
fgerlits f1ca8879ab added acquirePlaylist() and releasePlaylist() to WebStorageClient
modified config() methods in Core (Playlist, PlaylistElement, FadeInfo,
    and AudioClip) to read ID as hexadecimal string & not decimal number
some config xml files and tests had to be modified accordingly
2005-01-03 19:39:54 +00:00
maroy 763065a092 updated to reflect change in AudioPlayerInterface API 2005-01-02 11:51:16 +00:00
fgerlits 6eb6926c8b added playlist methods to WebStorageClient (everything except acquire and
release)
finally got rid of RemoveAudioClip() in Playlist
2004-12-31 14:13:49 +00:00
fgerlits 4d777103f7 added title attribute to AudioClip (in config(), too)
updated config files with title attribute
created getXmlString() method in AudioClip, Playlist, PlaylistElement
    and FadeInfo
replaced old (and bad) toXml() method with getMetadataString() in AudioClip
2004-12-30 20:09:28 +00:00
fgerlits 1931deef7c *** empty log message *** 2004-12-30 12:25:04 +00:00
fgerlits 29e95ebf70 changed Makefiles to use curlpp instead of curl 2004-12-30 11:51:48 +00:00
fgerlits 11f46d11ba wrote configuration of AudioClip from metafile;
added toXml() method to AudioClip
2004-12-29 10:02:29 +00:00
fgerlits 3b01df226c added get/set methods for title and for general metadata in AudioClip
and in Playlist
2004-12-27 19:52:02 +00:00
fgerlits a7721186cd *** empty log message *** 2004-12-24 14:20:15 +00:00
fgerlits de2b5a49a2 modified the authentication and storage modules to throw their
own exception classes AuthenticationException and StorageException
instead of invalid_argument and logic_error
2004-12-23 11:37:55 +00:00
maroy 790e6ee4c1 migrated from libxml++ 1.x to 2.8 2004-12-17 12:12:31 +00:00
fgerlits 0c9171761b removed session ID check from getSchedulerTime method 2004-12-16 17:33:15 +00:00
fgerlits 4a942bed50 corrected Core/AuthenticationClientInterface and Core/StorageClientInterface references to Authentication/... and Storage/..., respectively 2004-12-16 10:34:53 +00:00
fgerlits 12e3b40235 patched incorrect handling of struct tm in XmlRpc::XmlRpcValue 2004-12-13 21:45:41 +00:00