include_module example


    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'])) {
                
$thisfile_asf_comments['lyrics'] = array($this->TrimTerm($thisfile_asf_extendedcontentdescriptionobject_contentdescriptor_current['value']));
                                break;

                            case 'isvbr':
                                if ($thisfile_asf_extendedcontentdescriptionobject_contentdescriptor_current['value']) {
                                    $thisfile_audio['bitrate_mode'] = 'vbr';
                                    $thisfile_video['bitrate_mode'] = 'vbr';
                                }
                                break;

                            case 'id3':
                                $this->getid3->include_module('tag.id3v2');

                                $getid3_id3v2 = new getid3_id3v2($this->getid3);
                                $getid3_id3v2->AnalyzeString($thisfile_asf_extendedcontentdescriptionobject_contentdescriptor_current['value']);
                                unset($getid3_id3v2);

                                if ($thisfile_asf_extendedcontentdescriptionobject_contentdescriptor_current['value_length'] > 1024) {
                                    $thisfile_asf_extendedcontentdescriptionobject_contentdescriptor_current['value'] = '<value too large to display>';
                                }
                                break;

                            case 'wm/encodingtime':
                                
Home | Imprint | This part of the site doesn't use cookies.