public function analyze($filename,
$filesize=null,
$original_filename='',
$fp=null
) { try { if (!
$this->
openfile($filename,
$filesize,
$fp)) { return $this->info;
} // Handle tags
foreach (array
('id3v2'=>'id3v2', 'id3v1'=>'id3v1', 'apetag'=>'ape', 'lyrics3'=>'lyrics3'
) as $tag_name =>
$tag_key) { $option_tag = 'option_tag_'.
$tag_name;
if ($this->
$option_tag) { $this->
include_module('tag.'.
$tag_name);
try { $tag_class = 'getid3_'.
$tag_name;
$tag =
new $tag_class($this);
$tag->
Analyze();
} catch (getid3_exception
$e) { throw $e;
} } } if (isset($this->info
['id3v2'
]['tag_offset_start'
])) {