1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00

test header for phpdoc. now using only classes and libraries.

This commit is contained in:
momo-i 2011-02-02 16:48:45 +09:00
parent bc7344c9f5
commit add54bc230
67 changed files with 1871 additions and 988 deletions

View file

@ -1,29 +1,34 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Batch Library
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* get_song_files * get_song_files
*
* Takes an array of song ids and returns an array of the actual filenames * Takes an array of song ids and returns an array of the actual filenames
*
* @param array $media_ids Media IDs.
*/ */
function get_song_files($media_ids) { function get_song_files($media_ids) {
@ -46,13 +51,14 @@ function get_song_files($media_ids) {
return array($media_files,$total_size); return array($media_files,$total_size);
} //get_song_files } //get_song_files
/** /**
* send_zip * send_zip
*
* takes array of full paths to songs * takes array of full paths to songs
* zips them and sends them * zips them and sends them
* @param $name name of the zip file to be created *
* @param $song_files array of full paths to songs to zip create w/ call to get_song_files * @param string $name name of the zip file to be created
* @param string $song_files array of full paths to songs to zip create w/ call to get_song_files
*/ */
function send_zip( $name, $song_files ) { function send_zip( $name, $song_files ) {

View file

@ -44,7 +44,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Access { class Access {

View file

@ -44,7 +44,6 @@
* @copyright 2001 - 2011 Ampache.org * @copyright 2001 - 2011 Ampache.org
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Ajax { class Ajax {

View file

@ -45,7 +45,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Album extends database_object { class Album extends database_object {

View file

@ -43,7 +43,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class AmpacheMail { class AmpacheMail {

View file

@ -45,7 +45,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class AmpacheRSS { class AmpacheRSS {

View file

@ -45,7 +45,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Api { class Api {

View file

@ -45,7 +45,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Art extends database_object { class Art extends database_object {

View file

@ -43,7 +43,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Artist extends database_object { class Artist extends database_object {

View file

@ -46,7 +46,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Browse extends Query { class Browse extends Query {

View file

@ -44,7 +44,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Catalog extends database_object { class Catalog extends database_object {

View file

@ -50,7 +50,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Config { class Config {

View file

@ -44,7 +44,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Core { class Core {

View file

@ -45,7 +45,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
abstract class database_object { abstract class database_object {

View file

@ -51,7 +51,6 @@ if (!defined('INIT_LOADED') || INIT_LOADED != '1') { exit; }
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Dba { class Dba {

View file

@ -44,7 +44,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Democratic extends tmpPlaylist { class Democratic extends tmpPlaylist {

View file

@ -19,8 +19,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* USA.
* *
* @category Error * @category Error
* @package Ampache * @package Ampache
@ -45,7 +44,6 @@
* @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release: * @version Release:
* @link http://www.ampache.org/ * @link http://www.ampache.org/
* @see xxx
* @since Class available since Release 1.0 * @since Class available since Release 1.0
*/ */
class Error { class Error {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Flag Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Flag
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Flag Class * Flag Class
*
* This handles flagging of songs, albums and artists * This handles flagging of songs, albums and artists
*
* @category Flag
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Flag extends database_object { class Flag extends database_object {

View file

@ -1,27 +1,49 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* localplay_controller Class
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category localplay_controller
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/* /*
* localplay_controller Class
*
* This is the abstract class for any localplay controller * This is the abstract class for any localplay controller
*
* @category localplay_controller
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
abstract class localplay_controller { abstract class localplay_controller {

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Localplay Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Localplay
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * Localplay Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category Localplay
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class Localplay { class Localplay {
/* Base Variables */ /* Base Variables */

View file

@ -1,29 +1,55 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* media Interface
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
*/ * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category media
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* media interface * media Interface
*
* This defines how the media file classes should * This defines how the media file classes should
* work, this lists all required functions and the expected * work, this lists all required functions and the expected
* input * input
*
* @category media
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @see Video
* @see Radio
* @see Random
* @see Song
* @since Class available since Release 1.0
*/ */
interface media { interface media {

View file

@ -1,28 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Playlist Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Playlist
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
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 more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/** /**
* Playlist Class * Playlist Class
*
* This class handles playlists in ampache. it references the playlist* tables * This class handles playlists in ampache. it references the playlist* tables
*
* @category Playlist
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Playlist extends database_object { class Playlist extends database_object {

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Plugin Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Plugin
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * Plugin Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category Access
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class Plugin { class Plugin {
/* Base Variables */ /* Base Variables */

View file

@ -1,30 +1,52 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Preference Class
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Preference
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* preference Class * Preference Class
*
* This handles all of the preference stuff for ampache it replaces * This handles all of the preference stuff for ampache it replaces
* /lib/preference.lib.php * /lib/preference.lib.php
*
* @category Preference
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @see /lib/preference.lib.php
* @since Class available since Release 1.0
*/ */
class Preference { class Preference {

View file

@ -1,31 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Query Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Query
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Query Class * Query Class
*
* This handles all of the sql/filtering for the ampache database * This handles all of the sql/filtering for the ampache database
* this was seperated out from browse to accomodate Dynamic Playlists * this was seperated out from browse to accomodate Dynamic Playlists
*
* @category Query
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Query { class Query {
public $id; public $id;

View file

@ -1,30 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Radio Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Radio
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Radio Class * Radio Class
*
* This handles the internet radio stuff, that is inserted into live_stream * This handles the internet radio stuff, that is inserted into live_stream
* this can include podcasts or what-have-you * this can include podcasts or what-have-you
*
* @category Radio
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Radio extends database_object implements media { class Radio extends database_object implements media {

View file

@ -1,38 +1,58 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Random Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Random
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Random Class * Random Class
*
* All of the 'random' type events, elements, voodoo done by ampache is done * All of the 'random' type events, elements, voodoo done by ampache is done
* by this class, there isn't a table for this class so most of it's functions * by this class, there isn't a table for this class so most of it's functions
* are static * are static
*
* @category Random
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Random implements media { class Random implements media {
public $type; public $type;
public $id; public $id;
/** /**
* Constructor * Constructor
* nothing to see here, move along * nothing to see here, move along

View file

@ -1,28 +1,49 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Rating Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Rating
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Rating class * Rating class
*
* This tracks ratings for songs, albums and artists. * This tracks ratings for songs, albums and artists.
*
* @category Rating
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Rating extends database_object { class Rating extends database_object {

View file

@ -1,27 +1,49 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Recommendation Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Recommendation
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Recommendation Class * Recommendation Class
*
* Description here...
*
* @category Recommendation
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Recommendation { class Recommendation {

View file

@ -1,28 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Registration Class
Copyright (c) 2001 - 2007 Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
*/ * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Registration
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Registration * Registration Class
*
* This class handles all the doodlys for the registration * This class handles all the doodlys for the registration
* stuff in ampache * stuff in ampache
*
* @category Registration
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Registration { class Registration {

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* scrobbler Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category scrobbler
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * scrobbler Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category scrobbler
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class scrobbler { class scrobbler {
public $error_msg; public $error_msg;

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* shoutBox Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category shoutBox
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * shoutBox Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category shoutBox
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class shoutBox { class shoutBox {
public $id; public $id;

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Song Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Song
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * Song Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category Song
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class Song extends database_object implements media { class Song extends database_object implements media {
/* Variables from DB */ /* Variables from DB */

View file

@ -1,30 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Stats Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Stats
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Stats * Stats Class
*
* this class handles the object_count * this class handles the object_count
* Stuff, before this was done in the user class * Stuff, before this was done in the user class
* but that's not good, all done through here. * but that's not good, all done through here.
*
* @category Stats
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Stats { class Stats {

View file

@ -1,24 +1,35 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Stream Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Stream
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Stream * Stream

View file

@ -1,28 +1,49 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Tag Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Tag
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Tag Class * Tag Class
*
* This class hnadles all of the tag relation operations * This class hnadles all of the tag relation operations
*
* @category Tag
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Tag extends database_object { class Tag extends database_object {

View file

@ -1,30 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* TmpPlaylist Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category TmpPlaylist
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* TempPlaylist Class * TempPlaylist Class
*
* This class handles the temporary playlists in ampache, it handles the * This class handles the temporary playlists in ampache, it handles the
* tmp_playlist and tmp_playlist_data tables, and sneaks out at night to * tmp_playlist and tmp_playlist_data tables, and sneaks out at night to
* visit user_vote from time to time * visit user_vote from time to time
*
* @category TempPlaylist
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class tmpPlaylist extends database_object { class tmpPlaylist extends database_object {

View file

@ -1,28 +1,42 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Update Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
*/ * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Update
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* Update Class * Update Class
*
* this class handles updating from one version of * this class handles updating from one version of
* ampache to the next. Versions are a 6 digit number * ampache to the next. Versions are a 6 digit number
* <pre>
* 220000 * 220000
* ^ * ^
* Major Revision * Major Revision
@ -30,9 +44,19 @@
* 220000 * 220000
* ^ * ^
* Minor Revision * Minor Revision
* </pre>
* *
* The last 4 digits are a build number... * The last 4 digits are a build number...
* If Minor can't go over 9 Major can go as high as we want * If Minor can't go over 9 Major can go as high as we want
*
* @category Update
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class Update { class Update {

View file

@ -1,29 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* User Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
*/ * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category User
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* User Class * User Class
*
* This class handles all of the user related functions includingn the creationg * This class handles all of the user related functions includingn the creationg
* and deletion of the user objects from the database by defualt you constrcut it * and deletion of the user objects from the database by defualt you constrcut it
* with a user_id from user.id * with a user_id from user.id
*
* @category User
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class User extends database_object { class User extends database_object {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* vainfo Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category vainfo
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* vainfo * vainfo Class
*
* This class takes the information pulled from getID3 and returns it in a * This class takes the information pulled from getID3 and returns it in a
* Ampache friendly way. * Ampache friendly way.
*
* @category vainfo
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class vainfo { class vainfo {

View file

@ -1,30 +1,52 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* vauth Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category vauth
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org
All Rights Reserved
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation.
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 more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/** /**
* Vauth * vauth Class
*
* This class handles all of the session related stuff in Ampache * This class handles all of the session related stuff in Ampache
* it takes over for the vauth libs, and takes some stuff out of other * it takes over for the vauth libs, and takes some stuff out of other
* classes where it didn't belong * classes where it didn't belong
*/ *
* @category vauth
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/
class vauth { class vauth {
/** /**

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Video Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Video
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * Video Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category Video
* @package Ampache
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class Video extends database_object implements media { class Video extends database_object implements media {
public $id; public $id;

View file

@ -1,30 +1,51 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Access Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category xmlData
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* xmlData * xmlData Class
*
* This class takes care of all of the xml document stuff in Ampache these * This class takes care of all of the xml document stuff in Ampache these
* are all static calls * are all static calls
*
* @category xmlData
* @package Ampache
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class xmlData { class xmlData {

View file

@ -1,36 +1,41 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation.
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 more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* Debug Library * Debug Library
*
* This library is loaded when somehow our mojo has * This library is loaded when somehow our mojo has
* been lost, it contains functions for checking sql * been lost, it contains functions for checking sql
* connections, web paths etc.. * connections, web paths etc..
*/ *
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* check_database * check_database
*
* checks the local mysql db and make sure life is good * checks the local mysql db and make sure life is good
*
* @param string $host Hostname
* @param string $username Username
* @param string $pass Password
* @return mixed false or Database resource
*/ */
function check_database($host,$username,$pass) { function check_database($host,$username,$pass) {

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* General Library
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* set_memory_limit * set_memory_limit

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Gettext Library
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* load_gettext * load_gettext

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Init Library
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
// Use output buffering, this gains us a few things and // Use output buffering, this gains us a few things and
// fixes some CSS issues // fixes some CSS issues

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Install Library
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* split_sql * split_sql

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Logging Library
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/* /*
* log_event * log_event

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Preference Library
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/* /*
* update_preferences * update_preferences

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Rating Library
Copyright 2001 - 2007 Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* show_rating * show_rating

View file

@ -1,34 +1,34 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Search Library
Copyright (c) Ampache.org *
All rights reserved. * This library handles all the searching!
*
This program is free software; you can redistribute it and/or * PHP version 5
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
This program is distributed in the hope that it will be useful, *
but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is free software; you can redistribute it and/or
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * modify it under the terms of the GNU General Public License v2
GNU General Public License for more details. * as published by the Free Software Foundation.
*
You should have received a copy of the GNU General Public License * This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software * but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
This library handles all the searching! *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* run_search * run_search
* this function actually runs the search, and returns an array of the results. Unlike the previous * this function actually runs the search, and returns an array of the results. Unlike the previous
* function it does not do the display work its self. * function it does not do the display work its self.
* @package Search
* @catagory Search
*/ */
function run_search($data) { function run_search($data) {

View file

@ -1,24 +1,27 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Theme Library
Copyright (c) Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/** /**
* get_themes * get_themes

View file

@ -1,31 +1,29 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation.
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 more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* UI Function Library * UI Function Library
*
* This contains functions that are generic, and display information * This contains functions that are generic, and display information
* things like a confirmation box, etc and so forth * things like a confirmation box, etc and so forth
* @package Web Interface *
* @catagory Library * PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/ */
/** /**

View file

@ -1,32 +1,53 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* HttpQPlayer Class
Copyright (c) Ampache.org *
All rights reserved. * Written by snuffels
*
This program is free software; you can redistribute it and/or * PHP version 5
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
This program is distributed in the hope that it will be useful, *
but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is free software; you can redistribute it and/or
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * modify it under the terms of the GNU General Public License v2
GNU General Public License for more details. * as published by the Free Software Foundation.
*
You should have received a copy of the GNU General Public License * This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software * but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* Written by snuffels * *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category HttpQPlayer
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* HttpQPlayer * HttpQPlayer Class
*
* This player controls an instance of HttpQ * This player controls an instance of HttpQ
* which in turn controls WinAmp all functions * which in turn controls WinAmp all functions
* return null on failure * return null on failure
*
* @category HttpQPlayer
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class HttpQPlayer { class HttpQPlayer {

View file

@ -1,34 +1,61 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmazonSearch Class
*
* This class takes a token (amazon ID)
* and then allows you to do a search using the REST
* method. Currently it is semi-hardcoded to do music
* searches and only return information abou the album
* art
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2006 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmazonSearch
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) 2001 - 2006 Ampache.org /**
All rights reserved. * AmazonSearch Class
*
This program is free software; you can redistribute it and/or * This class takes a token (amazon ID)
modify it under the terms of the GNU General Public License * and then allows you to do a search using the REST
as published by the Free Software Foundation; either version 2 * method. Currently it is semi-hardcoded to do music
of the License, or (at your option) any later version. * searches and only return information abou the album
* art
This program is distributed in the hope that it will be useful, *
but WITHOUT ANY WARRANTY; without even the implied warranty of * @category AmazonSearch
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @package Modules
GNU General Public License for more details. * @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
You should have received a copy of the GNU General Public License * @license http://opensource.org/licenses/gpl-2.0 GPLv2
along with this program; if not, write to the Free Software * @version Release:
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
/*!
@header AmazonSearch Class
@discussion This class takes a token (amazon ID)
and then allows you to do a search using the REST
method. Currently it is semi-hardcoded to do music
searches and only return information abou the album
art
*/
class AmazonSearch { class AmazonSearch {
var $base_url_default = "webservices.amazon.com"; var $base_url_default = "webservices.amazon.com";

View file

@ -1,34 +1,55 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* jamendoSearch Class
Copyright (c) 2001 - 2006 Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2006 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @deprecated (maybe) deprecated since 2006.
* @category jamendoSearch
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* jamendoSearch * jamendoSearch Class
*
* This class does XML lookups against the jamendo website * This class does XML lookups against the jamendo website
* and returns information * and returns information
*
* @deprecated (maybe) deprecated since 2006.
* @category jamendoSearch
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class jamendoSearch { class jamendoSearch {
/* Constructed */ /* Constructed */
var $_client; var $_client;

View file

@ -1,26 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* LastFMSearch Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category LastFMSearch
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * LastFMSearch Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License *
as published by the Free Software Foundation; version 2 * @category LastFMSearch
of the License. * @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
This program is distributed in the hope that it will be useful, * @copyright 2001 - 2011 Ampache.org
but WITHOUT ANY WARRANTY; without even the implied warranty of * @license http://opensource.org/licenses/gpl-2.0 GPLv2
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @version Release:
GNU General Public License for more details. * @link http://www.ampache.org/
* @since Class available since Release 1.0
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class LastFMSearch { class LastFMSearch {
protected $base_url = "http://ws.audioscrobbler.com/1.0/album"; protected $base_url = "http://ws.audioscrobbler.com/1.0/album";

View file

@ -1,27 +1,39 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* mp3tunes Class
Copyright (c) Ampache.org *
All rights reserved. * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation; version 2 *
of the License. * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
but WITHOUT ANY WARRANTY; without even the implied warranty of * of the License.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category mp3tunes
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* mp3tunes Class
* *
* This class returns the XML data as a array of key'd arrays, attributes * This class returns the XML data as a array of key'd arrays, attributes
* are stored in [][__attributes] = array(); Any questions, recommendations * are stored in [][__attributes] = array(); Any questions, recommendations
@ -36,6 +48,15 @@
* REQUIREMENTS: * REQUIREMENTS:
* - fopen wrappers enabled to allow file_get_contents(URL); * - fopen wrappers enabled to allow file_get_contents(URL);
* - PHP5 * - PHP5
*
* @category mp3tunes
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class mp3tunes { class mp3tunes {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheHttpq Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheHttpq
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* AmpacheHttpQ Class * AmpacheHttpq Class
*
* This is the class for the HttpQ localplay method to remote control * This is the class for the HttpQ localplay method to remote control
* a WinAmp Instance * a WinAmp Instance
*
* @category AmpacheHttpq
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class AmpacheHttpq extends localplay_controller { class AmpacheHttpq extends localplay_controller {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheMpd Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheMpd
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* AmpacheMpd Class * AmpacheMpd Class
*
* the Ampache Mpd Controller, this is the glue between * the Ampache Mpd Controller, this is the glue between
* the MPD class and the Ampahce Localplay class * the MPD class and the Ampahce Localplay class
*
* @category AmpacheMpd
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class AmpacheMpd extends localplay_controller { class AmpacheMpd extends localplay_controller {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheShoutCast Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheShoutCast
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* AmpacheShoutCast * AmpacheShoutCast
*
* This class handles the shoutcast extension this is kind of an ugly controller * This class handles the shoutcast extension this is kind of an ugly controller
* ooh well you do what you can * ooh well you do what you can
*
* @category AmpacheShoutCast
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class AmpacheShoutCast extends localplay_controller { class AmpacheShoutCast extends localplay_controller {

View file

@ -1,29 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheVlc Class
Copyright Ampache.org *
All Rights Reserved * PHP version 5
*
This program is free software; you can redistribute it and/or * LICENSE: GNU General Public License, version 2 (GPLv2)
modify it under the terms of the GNU General Public License v2 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
as published by the Free Software Foundation. *
* This program is free software; you can redistribute it and/or
This program is distributed in the hope that it will be useful, * modify it under the terms of the GNU General Public License v2
but WITHOUT ANY WARRANTY; without even the implied warranty of * as published by the Free Software Foundation.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You should have received a copy of the GNU General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software * GNU General Public License for more details.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheVlc
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* AmpacheVlc Class * AmpacheVlc Class
*
* This is the class for the vlc localplay method to remote control * This is the class for the vlc localplay method to remote control
* a VLC Instance * a VLC Instance
*
* @category AmpacheVlc
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class AmpacheVlc extends localplay_controller { class AmpacheVlc extends localplay_controller {

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheLastfm Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheLastfm
* @package Plugins
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * AmpacheLastfm Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category AmpacheLastfm
* @package Plugins
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class AmpacheLastfm { class AmpacheLastfm {
public $name ='Last.FM'; public $name ='Last.FM';

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* Ampachelibrefm Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category Ampachelibrefm
* @package Plugins
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * Ampachelibrefm Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category Ampachelibrefm
* @package Plugins
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class Ampachelibrefm { class Ampachelibrefm {
public $name ='Libre.FM'; public $name ='Libre.FM';

View file

@ -1,25 +1,50 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* AmpacheMusicBrainz Class
*
* PHP version 5
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
* as published by the Free Software Foundation.
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category AmpacheMusicBrainz
* @package Plugins
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
Copyright (c) Ampache.org /**
All rights reserved. * AmpacheMusicBrainz Class
*
This program is free software; you can redistribute it and/or * Description here...
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * @category AmpacheMusicBrainz
* @package Plugins
This program is distributed in the hope that it will be useful, * @author Karl Vollmer <vollmer@ampache.org>
but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright 2001 - 2011 Ampache.org
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license http://opensource.org/licenses/gpl-2.0 GPLv2
GNU General Public License for more details. * @version Release:
* @link http://www.ampache.org/
You should have received a copy of the GNU General Public License * @since Class available since Release 1.0
along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
class AmpacheMusicBrainz { class AmpacheMusicBrainz {
public $name ='MusicBrainz'; public $name ='MusicBrainz';

View file

@ -1,32 +1,53 @@
<?php <?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ /* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/* /*
* VlcPlayer Class
Copyright (c) Ampache.org *
All rights reserved. * Written by snuffels and adjusted for vlc by dave
*
This program is free software; you can redistribute it and/or * PHP version 5
modify it under the terms of the GNU General Public License v2 *
as published by the Free Software Foundation. * LICENSE: GNU General Public License, version 2 (GPLv2)
* Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
This program is distributed in the hope that it will be useful, *
but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is free software; you can redistribute it and/or
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * modify it under the terms of the GNU General Public License v2
GNU General Public License for more details. * as published by the Free Software Foundation.
*
You should have received a copy of the GNU General Public License * This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software * but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* Written by snuffels and adjusted for vlc by dave * *
* You should have received a copy of the GNU General Public License
*/ * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @category VlcPlayer
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version PHP 5.2
* @link http://www.ampache.org/
* @since File available since Release 1.0
*/
/** /**
* VlcPlayer * VlcPlayer Class
*
* This player controls an instance of Vlc webinterface * This player controls an instance of Vlc webinterface
* which in turn controls vlc all functions * which in turn controls vlc all functions
* return null on failure * return null on failure
*
* @category VlcPlayer
* @package Modules
* @author Karl Vollmer <vollmer@ampache.org>
* @copyright 2001 - 2011 Ampache.org
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
* @version Release:
* @link http://www.ampache.org/
* @since Class available since Release 1.0
*/ */
class VlcPlayer { class VlcPlayer {