[2.0.0 - b4] write.id3v2.php - No audio data found.

Locked
jonblow
User
Posts:1
Joined:Tue Apr 17, 2007 3:14 pm
[2.0.0 - b4] write.id3v2.php - No audio data found.

Post by jonblow » Tue Apr 17, 2007 3:23 pm

Have very good mp3 from ffmpeg http://sermondev.com/c/jonblow/audio/14281_1931.mp3

write.id3v2.php said
No audio data found.

Code: Select all

      include_once('id3/getid3.php');
      include_once("id3/write.id3v2.php");
      $tagwriter = new getid3_write_id3v2($file);
      $tagwriter->title = trim(($row_info['title']));
      $tagwriter->artist = trim(($row_info['name']));
      $tagwriter->album = trim(($row_info['cname']));
      $tagwriter->year = date('Y');;
      $tagwriter->genre = 'Religious';
      $tagwriter->images     = $artwork;
      unset($tagwriter->genre_id);
      $tagwriter->comment = trim(($row_info['description']));


try {
   $tagwriter->write();
    $this->_write2debug('ID2 tag wrote ok, file '.$artwork);

}
catch (Exception $e) {
    $this->_write2debug($e->message);
}

Locked