Osea, http://www.url.com/archivo.mp3 si funciona lo lea el reproductor, si no funciona que no lo lea y lo salte.
Tenia algo echo pero nose por que no funciona:
Código PHP:
function urlfilesize($url,$thereturn) {
if (substr($url,0,4)=='http') {
$x = array_change_key_case(get_headers($url, 1),CASE_LOWER);
$x = $x['content-length'];
}
else { $x = @filesize($url); }
if (!$thereturn) { return $x ; }
elseif($thereturn == 'mb') { return round($x / (1024*1024),2) ; }
elseif($thereturn == 'kb') { return round($x / (1024),2) ; }
}