Commit Graph

279 Commits

Author SHA1 Message Date
tomash 1b89448983 minor fixes + minor code reformatting 2006-11-16 00:26:50 +00:00
paul d0f967b90a Fix for bug - schedule popup broken. Got rid of some warnings and did some code cleanup as well. 2006-11-15 18:56:11 +00:00
mark 02e9120ff6 Implement error handler. Now we skip to the next track if an error occurs during playback.
Fixes 
2006-11-15 16:29:17 +00:00
tomash 87715a4207 minor fix 2006-11-15 01:36:32 +00:00
tomash fa0f1ffbff Fixed return structure of getTransportInfo. 2006-11-15 01:23:07 +00:00
paul d2e9df0d15 got rid of =& when constructing objects 2006-11-14 19:14:18 +00:00
paul 5b012f8817 Got rid of =& when constructing objects. Improved documentation in many places. Got rid of double-copy operations when checking for errors (e.g. $foo = $r = myMethod()). Tweaked code here and there to fit coding conventions. 2006-11-14 19:13:49 +00:00
paul ea288cb362 got rid of =& when constructing objects 2006-11-14 19:11:09 +00:00
paul 0d9129d16c got rid of =& when constructing objects 2006-11-14 19:10:22 +00:00
paul bb00be70bb Started to convert code to PHP5 using public/private/protected/static and __construct() method, got rid of =& when constructing objects. Improved documentation in many places. Commented out functions that are no longer in use. Got rid of double-copy operations when checking for errors (e.g. $foo = $r = myMethod()). Tweaked code here and there to fit coding conventions. 2006-11-14 19:09:20 +00:00
paul d7062149ea Started to convert code to PHP5 using public/private/protected/static and __construct() method, got rid of =& when constructing objects. Improved documentation in many places. 2006-11-14 18:51:43 +00:00
paul bed878246d Speedups for HTML interface by only creating the HUBBROWSE object on
demand instead of on every single page load - this object took the
longest to create.  Started to convert code to PHP5 using
public/private/protected/static and __construct() method, got rid
of =& when constructing objects.  Fixed a number of functions that were
marked as private that were actually public.  Fixed names of a couple
functions to be more readable.  Commented out functions that are no
longer in use.
2006-11-14 18:43:57 +00:00
paul bd70c879bc Took out popup descriptions for playlist items and scratchpad items which speeds up the HTML interface by 4X 2006-11-14 18:42:55 +00:00
paul 11af038cd8 Replaced CAMP image with YOUR LOGO HERE 2006-11-14 18:39:46 +00:00
paul 407beabde2 Removed the word LIVESUPPORT from the images 2006-11-14 18:39:17 +00:00
fgerlits 40df10d876 moved the "remove many" code into the ZebraTreeView class
(part of )
2006-11-14 12:26:29 +00:00
fgerlits fc76b78a84 fixed , mostly 2006-11-13 19:52:18 +00:00
fgerlits f5eb8849a0 made the 'elapsed' and 'remaining' times change in sync 2006-11-10 17:04:26 +00:00
fgerlits e9ce767d07 updated the storage client to use the server's changed restore backup functions 2006-11-09 18:35:19 +00:00
tomash c1253836d4 restoreBackup XMLRPC fixed 2006-11-09 14:38:59 +00:00
fgerlits 3d79b7ce2a removing the temporary hack now that has been fixed 2006-11-09 10:18:57 +00:00
tomash fc866bbfb7 fixed return struct of the restoreBackupCheck method 2006-11-09 01:38:04 +00:00
mark 56d8e855e6 Fix inaccurate counting of elapsed time.
Fixes 
2006-11-08 20:49:02 +00:00
mark 2ce852a050 Hack for legacy Boost versions is no longer needed. 2006-11-08 16:29:43 +00:00
fgerlits b454abd40f fixing 2006-11-08 16:10:38 +00:00
fgerlits 3944d3d8da fixing 2006-11-08 10:23:40 +00:00
mark 02d3438bc2 Fix GStreamer warnings that would sometime occur on trackend. The root of this problem was a rather rather serious bug in the player: In some cases we called other methods from inside of the EOS handler, which would modify the pipeline, start new tracks, etc. I have fixed this problem by using an idle function, so that the calls are relayed via the event loop.
Please note: The new code causes some tests to fail. This is *not* a bug in the player, but in fact a known problem with the testrunner.

Fixes 
2006-11-07 19:35:46 +00:00
fgerlits a94d747628 fixing 2006-11-07 16:43:34 +00:00
mark 6456f5a162 Major performance improvement for SMIL files: Now the GstreamerPlayer is also able to open SMIL files in about 0.5 seconds.
Now I have removed usage of the old (slow) autoplugger altogether. Due to bugs in the minimalaudiosmil element, we cannot currently use it with decodebin. Hence we detect the SMIL filetype by file extension, and instantiate the element manually (very fast).

With this commit,  is entirely fixed.
2006-11-06 07:56:33 +00:00
mark cc4b94fdc2 Fix typo. 2006-11-05 10:14:54 +00:00
mark 8ea9d9d21a Major performance improvements for the GstreamerPlayer: Lag for opening/starting files has been reduced by a multitude, for all filetypes except SMIL. This has been achieved by using GStreamer's decodebin autoplugger, instead of our (very slow) custom autoplugger. For SMIL we currently still need to use the old autoplugger, so I have implemented two different codepaths.
For some hard numbers, this is an excerpt of a session with the new code:

[GstreamerPlayer] BEGIN: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::open(std::string)
  [GstreamerPlayer] Opening URL: file:var/test.mp3
[GstreamerPlayer] END__: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::open(std::string) - Took 0.099144s
[GstreamerPlayer] BEGIN: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::start()
[GstreamerPlayer] END__: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::start() - Took 0.000105s

Total execution time ~0.1s. Almost instant.

Fixes 
2006-11-05 09:23:47 +00:00
tomash 42891b2059 minor fixes (prevention of warnings) 2006-11-03 21:07:06 +00:00
tomash a3144ce333 searchMetadata generalized to multifield orderby 2006-11-02 10:09:46 +00:00
paul ea1982a2ea Fix for bug - ALBUM info wasnt imported for OGG files 2006-10-31 18:30:52 +00:00
mark f5f9db7ba8 Remove dubious code block from open(), that would try to play the pipeline on a fakesink. Currently this servers no purpose, but it just makes opening files slower.
Refer to 
2006-10-31 17:08:07 +00:00
mark c2bd03eb1d Output the current file URL to debug. 2006-10-31 16:38:38 +00:00
tomash 20d6342370 fixed handling html special characters 2006-10-31 16:20:24 +00:00
fgerlits 07d057b69b fixing , plus cleaning up some search/browse code 2006-10-31 14:12:56 +00:00
fgerlits 7b23ed6103 Fixing , first draft.
Known problems:
 * no paging in the network hub results (see SearchWindow.cxx:703);
 * row coloring problem .
2006-10-30 12:43:30 +00:00
mark e3165d6eaf This commit fixes several nasty bugs:
* We were relying on uninitialized variables (decoder).
* In setAudioDevice(), the relinking was completely broken. I have refactored and fixed the method.

Now we complete pass the GstreamerPlayer test suite.
Also fixes 
2006-10-30 09:33:19 +00:00
mark ac8c687a04 Don't unref an already destroyed audiosink object.
Fixes 
2006-10-30 08:14:11 +00:00
mark 8535b72f38 Optimize: Setting the pipeline to PAUSED before PLAYING is unnecessary. 2006-10-28 18:27:48 +00:00
mark a1983264dd Optimize: There is no need to remove the audiosink from the pipeline, only to add it again a few lines later on. 2006-10-28 18:20:09 +00:00
mark 21ab9f2930 Removed the volume element from the pipeline. Its only purpose was to limit the volume to 80% (which was hardcoded). This limiting should not be required; in fact it reduced the dynamic range and should therefore be avoided. 2006-10-26 15:31:11 +00:00
mark 62c3f1ac29 Add comments. 2006-10-26 14:26:59 +00:00
fgerlits 6abe4aa93d fixing 2006-10-26 14:16:51 +00:00
fgerlits 3e6875326f fixing ;
this breaks the network hub search because of 
2006-10-26 11:14:41 +00:00
mark 199809e6df Use proper GStreamer functions instead of their GLib counterparts. 2006-10-26 09:01:54 +00:00
paul 593e499a96 Changed import script and the HTML UI to use the same metadata import mechanism. This should fix . 2006-10-25 20:56:42 +00:00
paul 620cc4d93d Fixed some formatting to comply with style guidelines. 2006-10-25 20:54:39 +00:00
paul 9b8b5e364c Fixed warning as a result of undefined array index 2006-10-25 20:46:27 +00:00
paul 53078c3c0c Fixed some formatting to comply with style guidelines. 2006-10-25 20:45:15 +00:00
paul c1b9acdefb Fixed some formatting to comply with style guidelines. 2006-10-25 20:44:30 +00:00
paul ce24055515 Fixed some formatting to comply with style guidelines. 2006-10-25 20:43:20 +00:00
paul 3d03ae059d Fixed some formatting to comply with style guidelines. 2006-10-25 20:40:54 +00:00
paul cae4c15b39 Fixed some formatting to comply with style guidelines. 2006-10-25 20:40:05 +00:00
paul 55fe551a4a Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:38:46 +00:00
paul 4cd4c8cbf5 Fixed some formatting to comply with style guidelines. 2006-10-25 20:37:57 +00:00
paul 9d98920a49 Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:36:52 +00:00
paul 27af739fe8 Fixed some formatting to comply with style guidelines. 2006-10-25 20:35:59 +00:00
paul 6f2013845c Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:34:28 +00:00
paul 6ad26b3080 Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:33:35 +00:00
paul 49187026cb Changed error messages so that the page would display first, then show the error message on top of it, instead of showing the error message on top of a blank screen. 2006-10-25 20:30:17 +00:00
paul 5124344b3c Fix for - MAKE INSTALL fails. Fixed a number of problems that occurred due to renaming LS -> CC 2006-10-25 17:42:57 +00:00
mark 94472a8f23 Make use of our new debugging system. Very handy for performance measuring. 2006-10-25 17:16:15 +00:00
imonroe 73d5814343 compile fix for macro 2006-10-25 17:01:57 +00:00
imonroe f68aff1f89 Mark wanted some less verbose function-name macros. 2006-10-25 16:53:14 +00:00
imonroe e2a6a94ecf fix namespace of macro 2006-10-25 16:27:21 +00:00
fgerlits f2e7b03f03 Changed the window logos from images to (localized) text.
This fixes .
2006-10-25 14:52:01 +00:00
imonroe 2b3bf4b759 Finish [2365] by adding the necessary #define's to the configure.h's
Also svn:ignore all the testResults.xml for a clean svn status
2006-10-25 06:58:20 +00:00
imonroe 39ea53366b A debug output API with indentation and block timing. Closes . 2006-10-25 06:34:45 +00:00
mark 6d62a97b05 Const correctness is a good thing. 2006-10-24 10:04:20 +00:00
mark 0410b00f68 Improve comment. 2006-10-24 08:09:27 +00:00
mark 3a02f0693a Get rid of unnecessary reffing of the pipeline container.
refer to 
2006-10-24 08:07:40 +00:00
fgerlits 617cad8421 fixed 2006-10-23 14:19:12 +00:00
tomash 39ee84d0f3 escaping added 2006-10-20 16:30:18 +00:00
tomash 8410881858 Renaming to campcaster in storageServer test files. 2006-10-20 14:54:42 +00:00
tomash 0caf92b44e added 'source' to search result structure 2006-10-20 14:51:45 +00:00
paul fe31d2dfab Renaming top-level livesupport directory (/trunk/livesupport) to campcaster (trunk/campcaster). 2006-10-19 14:55:07 +00:00