Source for file result.php
Documentation is available at result.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
* Load MP3_Playlist class.
require_once 'MP3/Playlist.php';
if (isset ($_POST['submit'])) {
// Default make parameters
switch ($_POST['MakeType']) {
$params = $_POST['ParamsXHTML'];
$params = $_POST['ParamsRSS'];
$params = $_POST['ParamsSQLite'];
// Create new instance of MP3_Playlist.
$playlist = new MP3_Playlist($_POST['InputDir'], $_POST['OutputDir'],
$_POST['BaseURL'], $_POST['debug']);
// Call make() method, where 3 parameters (type, params and shuffle).
$playlist->make ($type, $params, $_POST['shuffle']);
$outputFunction = $_POST['output'] . '()';
if ($_POST['output'] == 'show') {
$playlist->$_POST['output']();
if ($_POST['output'] == 'show') {
} catch (PEAR_Exception $e) {
print '<b>Error</b>: ' . $e->getMessage ();
* c-hanging-comment-ender-p: nil
Documentation generated on Mon, 11 Mar 2019 14:15:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|