Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/07/2006, 07:31
gastro
 
Fecha de Ingreso: enero-2006
Mensajes: 94
Antigüedad: 18 años, 10 meses
Puntos: 2
Dime haber que pongo en el playlist.php

<?
$rbsExt = '.rbs';
$rbsPath = dirname(__FILE__);
include("functions.php");
$tracks = getTracks($rbsPath,$rbsExt);

$webPath = webPath();


header ("Content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<tracks>\n";
if (count($tracks) > 0) {
krsort($tracks);
#asort($tracks); // REMOVE THE # TO SORT YOUR PLAYLIST ALPHABETICALLY
foreach ($tracks as $trackMod => $track) {
$trackName = substr($track,0,strrpos($track,'.'));
echo "<track trackMod=\"".?."\" title=\"".titulo."\" path=\"".url."\"/>\n";
}
}

echo "</tracks>";
?>