Re: MP3_ID
| From: | Muhyiddin A.M Hayat | Date: | Sun, 15 Feb 2004 15:26:38 +0000 |
| Subject: | Re: MP3_ID | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10693@lists.php.net to get a copy of this message | ||
Hi,
How to read ID3v2?
How to read mp3 file from other directory?
----- Original Message -----
From: "Stefan Neufeind" <stefan@neufeind.net>
To: <pear-general@lists.php.net>
Cc: "Muhyiddin A.M Hayat" <middink@indo.net.id>
Sent: Friday, February 13, 2004 3:13 AM
Subject: Re: [PEAR] MP3_ID
> 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
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>