Código PHP:
include('demo.audioinfo.class.php');
$getID3 = new getID3;
$list = fopen('F:\alternative/lista.txt','r');//lista de nombres de archivos mp3.
while(!feof($list)){
$line = fgets($list);
$info = $getID3->analyze('F:\alternative/'.$line);
var_dump($info);
//$duracion = $info['playtime_string'];
//echo $duracion."<br>";
}
Cita:
Si comento el while y en la variable info , en analyze() le cambio el $line por 3 Doors Down - Better Life.mp3 funciona.array (size=2)
'GETID3_VERSION' => string '1.9.7-20130705' (length=14)
'error' =>
array (size=1)
0 => string 'Could not open "F:\alternative\3 Doors Down - Better Life.mp3
" (does not exist, or is not a file)' (length=112)
'GETID3_VERSION' => string '1.9.7-20130705' (length=14)
'error' =>
array (size=1)
0 => string 'Could not open "F:\alternative\3 Doors Down - Better Life.mp3
" (does not exist, or is not a file)' (length=112)
¿Que puede estar pasando?