mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
test header for phpdoc. now using only classes and libraries.
This commit is contained in:
parent
bc7344c9f5
commit
add54bc230
67 changed files with 1871 additions and 988 deletions
|
@ -1,29 +1,34 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
|
||||
* Batch 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* get_song_files
|
||||
*
|
||||
* 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) {
|
||||
|
||||
|
@ -46,13 +51,14 @@ function get_song_files($media_ids) {
|
|||
return array($media_files,$total_size);
|
||||
} //get_song_files
|
||||
|
||||
|
||||
/**
|
||||
* send_zip
|
||||
*
|
||||
* takes array of full paths to songs
|
||||
* 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 ) {
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Access {
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
* @copyright 2001 - 2011 Ampache.org
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Ajax {
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Album extends database_object {
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class AmpacheMail {
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class AmpacheRSS {
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Api {
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Art extends database_object {
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Artist extends database_object {
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Browse extends Query {
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Catalog extends database_object {
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Config {
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Core {
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
abstract class database_object {
|
||||
|
|
|
@ -51,7 +51,6 @@ if (!defined('INIT_LOADED') || INIT_LOADED != '1') { exit; }
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Dba {
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Democratic extends tmpPlaylist {
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
*
|
||||
* 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.
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* @category Error
|
||||
* @package Ampache
|
||||
|
@ -45,7 +44,6 @@
|
|||
* @license http://opensource.org/licenses/gpl-2.0 GPLv2
|
||||
* @version Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @see xxx
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Error {
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* Flag 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 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
|
||||
*
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,27 +1,49 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* localplay_controller 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_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
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* Localplay Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Localplay {
|
||||
|
||||
/* Base Variables */
|
||||
|
|
|
@ -1,29 +1,55 @@
|
|||
<?php
|
||||
/* 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.
|
||||
*/
|
||||
* media Interface
|
||||
*
|
||||
* 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 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
|
||||
* work, this lists all required functions and the expected
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,28 +1,50 @@
|
|||
<?php
|
||||
/* 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
|
||||
*
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* Plugin Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @category Access
|
||||
* @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 Plugin {
|
||||
|
||||
/* Base Variables */
|
||||
|
|
|
@ -1,30 +1,52 @@
|
|||
<?php
|
||||
/* 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
|
||||
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.
|
||||
|
||||
*/
|
||||
* Preference 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 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
|
||||
* /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 {
|
||||
|
||||
|
|
|
@ -1,31 +1,51 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Query 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 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
|
||||
*
|
||||
* This handles all of the sql/filtering for the ampache database
|
||||
* 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 {
|
||||
|
||||
public $id;
|
||||
|
|
|
@ -1,30 +1,51 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* Radio 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 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
|
||||
*
|
||||
* This handles the internet radio stuff, that is inserted into live_stream
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,38 +1,58 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* Random 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 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
|
||||
*
|
||||
* 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
|
||||
* 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 {
|
||||
|
||||
public $type;
|
||||
public $id;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* nothing to see here, move along
|
||||
|
|
|
@ -1,28 +1,49 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Rating 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 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
|
||||
*
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,27 +1,49 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Recommendation 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 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
|
||||
*
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,28 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright (c) 2001 - 2007 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.
|
||||
*/
|
||||
* Registration 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 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
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* scrobbler Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class scrobbler {
|
||||
|
||||
public $error_msg;
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* shoutBox Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class shoutBox {
|
||||
|
||||
public $id;
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* Song Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Song extends database_object implements media {
|
||||
|
||||
/* Variables from DB */
|
||||
|
|
|
@ -1,30 +1,51 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Stats 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 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
|
||||
* Stuff, before this was done in the user class
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,24 +1,35 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Stream 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 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
|
||||
|
|
|
@ -1,28 +1,49 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Tag 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 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
|
||||
*
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,30 +1,51 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* TmpPlaylist 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 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
|
||||
*
|
||||
* This class handles the temporary playlists in ampache, it handles the
|
||||
* tmp_playlist and tmp_playlist_data tables, and sneaks out at night to
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,28 +1,42 @@
|
|||
<?php
|
||||
/* 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.
|
||||
*/
|
||||
* Update 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 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
|
||||
*
|
||||
* this class handles updating from one version of
|
||||
* ampache to the next. Versions are a 6 digit number
|
||||
* <pre>
|
||||
* 220000
|
||||
* ^
|
||||
* Major Revision
|
||||
|
@ -30,9 +44,19 @@
|
|||
* 220000
|
||||
* ^
|
||||
* Minor Revision
|
||||
* </pre>
|
||||
*
|
||||
* The last 4 digits are a build number...
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,51 @@
|
|||
<?php
|
||||
/* 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.
|
||||
*/
|
||||
* User 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 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
|
||||
*
|
||||
* 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
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* vainfo 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 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
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,30 +1,52 @@
|
|||
<?php
|
||||
/* 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
|
||||
* it takes over for the vauth libs, and takes some stuff out of other
|
||||
* 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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* Video Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Video extends database_object implements media {
|
||||
|
||||
public $id;
|
||||
|
|
|
@ -1,30 +1,51 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* Access 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 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
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,36 +1,41 @@
|
|||
<?php
|
||||
/* 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
|
||||
*
|
||||
* This library is loaded when somehow our mojo has
|
||||
* been lost, it contains functions for checking sql
|
||||
* 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
|
||||
* 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) {
|
||||
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* General 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* set_memory_limit
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Gettext 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* load_gettext
|
||||
|
|
39
lib/init.php
39
lib/init.php
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Init 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.
|
||||
*
|
||||
*/
|
||||
|
||||
// Use output buffering, this gains us a few things and
|
||||
// fixes some CSS issues
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Install 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* split_sql
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Logging 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* log_event
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Preference 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* update_preferences
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 2001 - 2007 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.
|
||||
|
||||
*/
|
||||
* Rating 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* show_rating
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
This library handles all the searching!
|
||||
|
||||
*/
|
||||
|
||||
* Search Library
|
||||
*
|
||||
* This library handles all the searching!
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* run_search
|
||||
* 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.
|
||||
* @package Search
|
||||
* @catagory Search
|
||||
*/
|
||||
function run_search($data) {
|
||||
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
*/
|
||||
* Theme 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* get_themes
|
||||
|
|
|
@ -1,31 +1,29 @@
|
|||
<?php
|
||||
/* 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
|
||||
* This contains functions that are generic, and display information
|
||||
* things like a confirmation box, etc and so forth
|
||||
* @package Web Interface
|
||||
* @catagory Library
|
||||
* UI Function Library
|
||||
*
|
||||
* This contains functions that are generic, and display information
|
||||
* things like a confirmation box, etc and so forth
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,32 +1,53 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
* Written by snuffels *
|
||||
|
||||
*/
|
||||
* HttpQPlayer Class
|
||||
*
|
||||
* Written by snuffels
|
||||
*
|
||||
* 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 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
|
||||
* which in turn controls WinAmp all functions
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,34 +1,61 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/*!
|
||||
@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
|
||||
*/
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class AmazonSearch {
|
||||
|
||||
var $base_url_default = "webservices.amazon.com";
|
||||
|
|
|
@ -1,34 +1,55 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
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 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.
|
||||
|
||||
*/
|
||||
* jamendoSearch Class
|
||||
*
|
||||
* 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 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.
|
||||
*
|
||||
* @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
|
||||
* 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 {
|
||||
|
||||
|
||||
|
||||
/* Constructed */
|
||||
var $_client;
|
||||
|
||||
|
|
|
@ -1,26 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* LastFMSearch Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
class LastFMSearch {
|
||||
|
||||
protected $base_url = "http://ws.audioscrobbler.com/1.0/album";
|
||||
|
|
|
@ -1,27 +1,39 @@
|
|||
<?php
|
||||
/* 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
|
||||
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.
|
||||
|
||||
*/
|
||||
* mp3tunes 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 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
|
||||
* are stored in [][__attributes] = array(); Any questions, recommendations
|
||||
|
@ -36,6 +48,15 @@
|
|||
* REQUIREMENTS:
|
||||
* - fopen wrappers enabled to allow file_get_contents(URL);
|
||||
* - 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* AmpacheHttpq 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 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
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* AmpacheMpd 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 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
|
||||
*
|
||||
* the Ampache Mpd Controller, this is the glue between
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* AmpacheShoutCast 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 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
|
||||
*
|
||||
* This class handles the shoutcast extension this is kind of an ugly controller
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,29 +1,50 @@
|
|||
<?php
|
||||
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
||||
/*
|
||||
|
||||
Copyright 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.
|
||||
|
||||
*/
|
||||
* AmpacheVlc 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 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
|
||||
*
|
||||
* This is the class for the vlc localplay method to remote control
|
||||
* 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 {
|
||||
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* AmpacheLastfm Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class AmpacheLastfm {
|
||||
|
||||
public $name ='Last.FM';
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* Ampachelibrefm Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class Ampachelibrefm {
|
||||
|
||||
public $name ='Libre.FM';
|
||||
|
|
|
@ -1,25 +1,50 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* AmpacheMusicBrainz Class
|
||||
*
|
||||
* Description here...
|
||||
*
|
||||
* @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 Release:
|
||||
* @link http://www.ampache.org/
|
||||
* @since Class available since Release 1.0
|
||||
*/
|
||||
class AmpacheMusicBrainz {
|
||||
|
||||
public $name ='MusicBrainz';
|
||||
|
|
|
@ -1,32 +1,53 @@
|
|||
<?php
|
||||
/* 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.
|
||||
|
||||
* Written by snuffels and adjusted for vlc by dave *
|
||||
|
||||
*/
|
||||
* VlcPlayer Class
|
||||
*
|
||||
* Written by snuffels and adjusted for vlc by dave
|
||||
*
|
||||
* 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 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
|
||||
* which in turn controls vlc all functions
|
||||
* 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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue