#2011 minor fix + typo fixes

This commit is contained in:
tomash 2006-11-21 23:23:33 +00:00
parent f48c22f1c8
commit 007b5caa6c
3 changed files with 4 additions and 3 deletions

View file

@ -1193,6 +1193,7 @@ class BasicStor extends Alib {
} }
$gunids = array_merge($gunids, $gunidsX); $gunids = array_merge($gunids, $gunidsX);
} }
# header("Content-type: text/plain"); var_dump($gunids); var_dump($withContent); exit;
$plExts = array('lspl'=>"lspl", 'smil'=>"smil", 'm3u'=>"m3u"); $plExts = array('lspl'=>"lspl", 'smil'=>"smil", 'm3u'=>"m3u");
$plExt = (isset($plExts[$type]) ? $plExts[$type] : "xml" ); $plExt = (isset($plExts[$type]) ? $plExts[$type] : "xml" );
$res = array(); $res = array();
@ -1225,7 +1226,7 @@ class BasicStor extends Alib {
$string = $r = $ac->output2Smil(); $string = $r = $ac->output2Smil();
break; break;
case"m3u": case"m3u":
$string = $r = $ac->output2M3U(); $string = $r = $ac->output2m3u();
break; break;
default: default:
$string = $r = $ac->md->genXmlDoc(); $string = $r = $ac->md->genXmlDoc();

View file

@ -903,7 +903,7 @@ class GreenBox extends BasicStor {
*/ */
public function exportPlaylistOpen($sessid, $plids, $type='lspl', $standalone=FALSE) public function exportPlaylistOpen($sessid, $plids, $type='lspl', $standalone=FALSE)
{ {
return $this->bsExportPlaylistOpen($plids, $type, $standalone); return $this->bsExportPlaylistOpen($plids, $type, !$standalone);
} // fn exportPlaylistOpen } // fn exportPlaylistOpen

View file

@ -461,7 +461,7 @@ class LsPlaylistElement {
* @link http://www.campware.org * @link http://www.campware.org
* @todo Rename this class to PlaylistAudioClip (notice the caps) * @todo Rename this class to PlaylistAudioClip (notice the caps)
*/ */
class LsPLaylistAudioClip class LsPlaylistAudioClip
{ {
function output2Smil(&$pl, $plac, $ind='') function output2Smil(&$pl, $plac, $ind='')