--- a/ajax.php Sun Mar 23 22:03:57 2008 -0400
+++ b/ajax.php Sun Mar 23 22:44:52 2008 -0400
@@ -4,9 +4,13 @@
* Action servlet (play, pause, etc.)
*
* Web control interface script for Amarok
- * Written by Dan Fuhry - 2008
+ * Copyright (C) 2008 Dan Fuhry
*
- * This script is in the public domain. Use it for good, not evil.
+ * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
*/
status('initializing Services_JSON');
@@ -53,7 +57,7 @@
case 'prev':
if ( !$allowcontrol )
return false;
- echo dcop_action('player', 'stop');
+ echo dcop_action('player', $action);
break;
case 'play':
if ( !$allowcontrol )