Commit Graph

370 Commits

Author SHA1 Message Date
paul 001e50bf08 Fix for bug #2003 - CREATE NEW PLAYLIST broken 2006-11-21 18:20:46 +00:00
paul 82fcd9faed Fixed a bug where a playlist with nothing in it would say that it was 19 hours long. 2006-11-21 18:18:16 +00:00
paul 4376bd8529 Changed code to use PHP coding conventions 2006-11-21 17:18:17 +00:00
paul 945595129b Function rename fix 2006-11-21 17:16:57 +00:00
paul 43c0907de3 LS->CC renaming. Added documentation. 2006-11-21 17:16:32 +00:00
paul 4dfabbb4e2 Got rid fo PHP5-specific handling 2006-11-21 17:15:41 +00:00
paul 802bc91be6 Got rid of WAIT gif, we dont want anything slowing down the display of these pages. This also prevents using LOCATION: headers for redirects, which are faster. 2006-11-21 17:14:48 +00:00
paul 420d5288b5 Fixed _retMsg() function to use call_user_func_array() instead of a long lost of optional arguments. Function renaming fixes. 2006-11-21 17:11:40 +00:00
paul 5af7dcc9f5 Added documentation 2006-11-21 17:09:42 +00:00
paul 436bafc18e Got rid of a warning. 2006-11-21 17:09:14 +00:00
paul 9063d1e639 Got rid of permission checks for various menu items since there is actually no way to change a users permissions. 2006-11-21 17:08:33 +00:00
paul 5631f3d13a Show more of the song titles by not truncating on word boundaries. 2006-11-21 17:07:54 +00:00
paul 73bfd59f4e Added more space for search results since not all available space was used. Show more of the song titles by not truncating on word boundaries. 2006-11-21 17:06:45 +00:00
paul ac56d573d1 Got rid of popup wait box when you click on SCHEDULE menu items. Got rid of permission checks for various menu items since there is actually no way to change a users permissions. 2006-11-21 17:04:37 +00:00
paul b6a4f523fb Renamed function reOrder() to reorder(). Fixes for function renaming. 2006-11-21 17:02:29 +00:00
paul bb250cb252 Fixes for function renaming. 2006-11-21 17:01:54 +00:00
paul c06827fe96 Added public/private function modifiers. Fixes for function renaming. Removed function isUsedBy() since it is not used. 2006-11-21 17:01:19 +00:00
fgerlits e0ee3875a5 minor edit: changed Station to Web 2006-11-21 17:00:03 +00:00
paul 6094054d66 Fixes for function renaming. 2006-11-21 16:58:47 +00:00
paul 7558ac6153 Fixes for function renaming. 2006-11-21 16:58:21 +00:00
paul b77c92a667 Fixes for function renaming. 2006-11-21 16:57:44 +00:00
paul 64fa1756e4 Fixes for function renaming. Fixed some warnings in the templates. 2006-11-21 16:56:43 +00:00
paul 0785f322a0 Fixes for function renaming. Added ability to go directly to a page without showing that waiting popup 2006-11-21 16:55:00 +00:00
fgerlits 89b715cb66 updated the localization instructions 2006-11-21 16:51:38 +00:00
paul c155513040 Added documentation. Added public/private function status. Renamed reLoadM() to reloadMetadata(). Put in some checks to ensure that the number of scratchpad items returned isnt more than the number set in the user preferences. 2006-11-21 16:34:38 +00:00
paul b61b24945a Fixed whitespace for coding conventions. Optimized function searchDB() - it doesnt do everything twice now, just once. Completely redid the pagination() function so that it works properly. Renamed reOrder() to reorder(). 2006-11-21 16:30:27 +00:00
paul d362f0c3c9 Whitespace fixes for coding conventions 2006-11-21 16:27:42 +00:00
paul 26fbe865ec Added public/private modifiers to functions. Added documentation. 2006-11-21 16:26:57 +00:00
paul ed603ad447 Documentation spelling fix 2006-11-21 16:21:28 +00:00
paul dcd82ff474 LS->CC renaming. Removed special handling for PHP5 since we now assume we use PHP5. 2006-11-21 16:20:37 +00:00
paul a3bd7c9d73 Fixed function call names for renamed functions. 2006-11-21 16:19:53 +00:00
paul d9f5ba0335 Fixes for function renaming (public/private stuff). Renamed getMdataValue() to getMetadataValue(), renamed setMdataValue() to setMetadataValue(). Fixed calls to BasicStor::getMetadataValue() to use the new return value properly. 2006-11-21 16:19:19 +00:00
paul f3a8175815 Removed special cases for PHP5 handling. 2006-11-21 16:13:17 +00:00
paul a781d02678 Changes for new return value of bsGetMetadataValue(). Fixes for function renaming. Removed extra data copying for error checking (the $foo = $r = myFunc() stuff). 2006-11-21 16:11:27 +00:00
paul 883c6037b6 LS->CC renaming. Removed special handling for PHP5 since we now assume we use PHP5. 2006-11-21 16:04:21 +00:00
paul d41cffbc08 Fixed function call names for renamed functions. 2006-11-21 16:01:16 +00:00
paul 1a0cc368f0 Did some function renaming for public/private issues. Changed playlistIsAvailable() to not check if the playlist exists on disk (I think we can assume that it does if something is asking about it), it only checks if it is being edited now. This change was made for optimization purposes. 2006-11-21 16:00:50 +00:00
paul 716b1d3a8c Renamed the function getMetadataValue() to getMetadataValueWithAttrs() - this function actually isnt used anywhere. Created a new getMetadataValue() which just returns the value you are looking for without any extra stuff. 2006-11-21 15:55:39 +00:00
paul b5f2262b0a Fixed function call names for renamed functions. 2006-11-21 15:53:30 +00:00
paul 674f08e210 Fixed function call names for renamed functions. 2006-11-21 15:51:52 +00:00
paul 2824643ca3 Fixed function call names for renamed functions. 2006-11-21 15:51:34 +00:00
paul f494b34d8f Fixed calls to Greenbox::bsGetMetadataValue() to use the new return value. 2006-11-21 15:50:37 +00:00
paul 94a0be4e6a Added documentation, removed function _idFromGunid(), which was not used. 2006-11-21 15:47:48 +00:00
paul 012d344db2 Added public/private status to functions. Changed _localGenSearch() to take advantage of new Greenbox::bsGetMetadataValue() function which allows you to pass an array of values to fetch. 2006-11-21 15:46:55 +00:00
paul 644be7c50c Removed underscores from function names (that indicate private functions) for functions that were actually public. Changed bsGetMetadataValue() to allow an array as an argument to fetch multiple values at once. 2006-11-21 15:43:04 +00:00
fgerlits df75695233 updated the Studio localization files 2006-11-21 13:54:48 +00:00
fgerlits cbc02ff0e2 fixed #1994 2006-11-20 14:54:50 +00:00
fgerlits 32aec7a7ac merging the temporary-2466 branch back to the trunk;
the branch is now dead
2006-11-19 17:22:58 +00:00
mark d763a35cf6 Use the m_ prefix consistently for member variables.
Fixes #1993
2006-11-18 08:17:52 +00:00
fgerlits 756838f931 minor edit: removed an unused localzation entry 2006-11-16 17:48:19 +00:00
tomash af168a09ce renaming stuff 2006-11-16 15:39:14 +00:00
paul 764e1cfbcf Fix for #1979 - fatal error on file upload 2006-11-16 15:01:51 +00:00
fgerlits 8dfefb4f02 re-syncing the trunk with the branch (for Doug) 2006-11-16 10:43:10 +00:00
mark de4c77a7f5 Fix compiler warnings due to missings casts in minimalaudiosmil.c. Make the file compile with the stricter C++ compiler.
Fixes #1974
2006-11-16 09:18:15 +00:00
fgerlits 11f4d2899b merging the temporary-2466 branch back to the trunk;
this fixes #1953
2006-11-16 08:08:27 +00:00
tomash 1b89448983 minor fixes + minor code reformatting 2006-11-16 00:26:50 +00:00
paul d0f967b90a Fix for bug #1973 - 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 #1972
2006-11-15 16:29:17 +00:00
paul 9f9f6450ac Removed PHP docs from doxygen generation 2006-11-15 14:39:54 +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
fgerlits 8b979c9f76 not destroying the Live Mode window on logout
(part of #1940)
2006-11-14 18:52:17 +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 f56866a0d0 added clear buttons to the Live Mode window (part of #1940) 2006-11-14 17:52:06 +00:00
fgerlits db8b0de70f enabled multiple selection for the Live Mode window;
it only works with the Delete button so far.
(part of #1940)
2006-11-14 13:14:13 +00:00
fgerlits 40df10d876 moved the "remove many" code into the ZebraTreeView class
(part of #1940)
2006-11-14 12:26:29 +00:00
fgerlits fc76b78a84 fixed #936, mostly 2006-11-13 19:52:18 +00:00
fgerlits 54308f13e4 fixed #1966 2006-11-13 15:11:53 +00:00
fgerlits 3edbb79861 changed the search results from 10 to 25 items 2006-11-13 11:52:07 +00:00
fgerlits e6e5dc08b7 rewrote the ODBC data source install script;
it should handle upgrades better now
2006-11-13 11:28:24 +00:00
fgerlits 7796cde9f4 fixed #1957 2006-11-11 19:47:16 +00:00
fgerlits a7e529ba1b fixed #1926;
removed the non-functional VU meter and Next playing boxes from the Master
Panel (we'll put them back when they are implemented)
2006-11-11 19:39:02 +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 #1704 restoreBackup XMLRPC fixed 2006-11-09 14:38:59 +00:00
fgerlits 3d79b7ce2a removing the temporary hack now that #1708 has been fixed 2006-11-09 10:18:57 +00:00
tomash fc866bbfb7 #1708 fixed return struct of the restoreBackupCheck method 2006-11-09 01:38:04 +00:00
mark 56d8e855e6 Fix inaccurate counting of elapsed time.
Fixes #1946
2006-11-08 20:49:02 +00:00
fgerlits 876cbca5e6 undoing a change in [2433] which was pointless and possibly harmful 2006-11-08 19:00:43 +00:00
fgerlits 9ce0bb338b fixing a typo in [2433] 2006-11-08 17:26:45 +00:00
mark 2ce852a050 Hack for legacy Boost versions is no longer needed. 2006-11-08 16:29:43 +00:00
fgerlits b454abd40f fixing #1947 2006-11-08 16:10:38 +00:00
fgerlits 3944d3d8da fixing #1945 2006-11-08 10:23:40 +00:00
fgerlits 16a8907e5d removed a debug message left in by mistake 2006-11-08 09:30:58 +00:00
fgerlits 5dd9c29561 minor edit: fixed a typo (thanks, Frans) 2006-11-08 09:28:33 +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 #1941
2006-11-07 19:35:46 +00:00
fgerlits a94d747628 fixing #1930 2006-11-07 16:43:34 +00:00
fgerlits b286b9048d fixing #1920 2006-11-06 17:37:58 +00:00
fgerlits 959c465bb0 fixed #1918 2006-11-06 16:28:35 +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, #1904 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 #1904
2006-11-05 09:23:47 +00:00
tomash 42891b2059 minor fixes (prevention of warnings) 2006-11-03 21:07:06 +00:00
fgerlits b8d5f8d035 fixing #1929 2006-11-02 20:03:26 +00:00
fgerlits 13a6ae0f01 fixing #1925 2006-11-02 14:35:51 +00:00
fgerlits d3d817050d added more functions to the context menu in the Live Mode window;
removed an unnecessary argument in the SchedulePlaylistWindow;
plus minor formatting changes to the ScratchpadWindow
(all part of #1918)
2006-11-02 14:28:03 +00:00
fgerlits c5b8bbb201 cleaned up and rearranged the context menus (part of #1918) 2006-11-02 12:41:27 +00:00
tomash a3144ce333 #1878 searchMetadata generalized to multifield orderby 2006-11-02 10:09:46 +00:00
fgerlits 5e5cd76b4d temporary pseudo-fix for #1898 2006-11-01 20:45:42 +00:00
fgerlits c7686e10c7 minor edit: made the search results treeview a teensy bit taller 2006-11-01 16:11:28 +00:00
fgerlits e0f2ffaa08 fixing #1913 2006-11-01 15:49:23 +00:00
fgerlits 8001ebc5fc fixing #1890 2006-11-01 15:12:52 +00:00
fgerlits c301eb13ae fixing #1907 2006-11-01 12:47:02 +00:00
fgerlits 90fd4b1ca8 minor edit: openned -> opened; fixed a comment; brought the tests up to date with the recent API changes 2006-11-01 10:36:46 +00:00
fgerlits 5ad021fde3 fixing #1910 2006-10-31 19:37:19 +00:00
paul ea1982a2ea Fix for bug #1909 - 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 #1904
2006-10-31 17:08:07 +00:00
fgerlits b87465f387 fixed #1868 2006-10-31 17:03:31 +00:00
mark c2bd03eb1d Output the current file URL to debug. 2006-10-31 16:38:38 +00:00
tomash 20d6342370 #1903 fixed handling html special characters 2006-10-31 16:20:24 +00:00
fgerlits 07d057b69b fixing #1895, plus cleaning up some search/browse code 2006-10-31 14:12:56 +00:00
fgerlits b0f60b4a4a undoing [2391]; see #1878 2006-10-30 13:59:22 +00:00
fgerlits 2ebbffb20b removing an unnecessary function left in [2401] by mistake 2006-10-30 12:46:19 +00:00
fgerlits 7b23ed6103 Fixing #1895, first draft.
Known problems:
 * no paging in the network hub results (see SearchWindow.cxx:703);
 * row coloring problem #1902.
2006-10-30 12:43:30 +00:00
fgerlits 4f8c9aa226 temporarily disabling "always on top" for the Master Panel;
this was added to fix bug #1860, but it causes bug #1901
2006-10-30 12:24:35 +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 #1613
2006-10-30 09:33:19 +00:00
mark ac8c687a04 Don't unref an already destroyed audiosink object.
Fixes #1822
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
fgerlits 2290edbd00 fixing #1880 2006-10-27 14:51:07 +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 #1894 2006-10-26 14:16:51 +00:00
fgerlits e3c415b38e fixing #1878 2006-10-26 12:43:48 +00:00
fgerlits 3e6875326f fixing #1873;
this breaks the network hub search because of #1893
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 #1819. 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 174f9798da Renamed LiveSupport to Campcaster, for ticket #1883 2006-10-25 20:11:59 +00:00
paul 5124344b3c Fix for #1892 - 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 #1843.
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 #1889. 2006-10-25 06:34:45 +00:00
fgerlits 1df4de1571 fixing #1875 2006-10-24 18:03:32 +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 #1822
2006-10-24 08:07:40 +00:00
fgerlits 617cad8421 fixed #1864 2006-10-23 14:19:12 +00:00
tomash 39ee84d0f3 #1882 escaping added 2006-10-20 16:30:18 +00:00
fgerlits 01bc3e4905 fixing #1871 2006-10-20 15:09:25 +00:00
fgerlits 88213289eb fixing #1865 2006-10-20 15:08:19 +00:00
tomash 8410881858 Renaming to campcaster in storageServer test files. 2006-10-20 14:54:42 +00:00
tomash 0caf92b44e #1872 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