getid3_flac::parseVORBIS_COMMENT() –

You appear to be a bot. Output may be restricted

Description

Usage

$bool = getid3_flac::parseVORBIS_COMMENT( $BlockData );

Parameters

$BlockData
( string ) required

Returns

bool

Source

File name: wordpress/wp-includes/ID3/module.audio.flac.php
Lines:

1 to 18 of 18
  private function parseVORBIS_COMMENT($BlockData) {
    $info = &$this->getid3->info;

    $getid3_ogg = new getid3_ogg($this->getid3);
    if ($this->isDependencyFor('matroska')) {
      $getid3_ogg->setStringMode($this->data_string);
    }
    $getid3_ogg->ParseVorbisComments();
    if (isset($info['ogg'])) {
      unset($info['ogg']['comments_raw']);
      $info['flac']['VORBIS_COMMENT'] = $info['ogg'];
      unset($info['ogg']);
    }

    unset($getid3_ogg);

    return true;
  }
 

 View on GitHub View on Trac