Re: MP3_ID
| From: | Stefan Neufeind | Date: | Thu, 12 Feb 2004 19:13:30 +0000 |
| Subject: | Re: MP3_ID | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10664@lists.php.net to get a copy of this message | ||
On 13 Feb 2004 at 2:50, Muhyiddin A.M Hayat wrote:
> How to use MP3_ID?
Have a look at the source. There is a short example at the beginning
of MP3/Id.php:
require_once("MP3/Id.php");
$file = "Some Song.mp3";
$id3 = &new MP3_Id();
$id3->read($file);
print_r($id3);
echo $id3->getTag('artists');
$id3->comment = "Be gentle with that file.";
$id3->write();
$id3->read($file);
print_r($id3 );
Maybe it helps a bit? Haven't used it myself up to now - so I can't
give you further help.
Regards
Stefan