Re: MP3_ID
| From: | Stefan Neufeind | Date: | Sun, 15 Feb 2004 16:57:49 +0000 |
| Subject: | Re: MP3_ID | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10695@lists.php.net to get a copy of this message | ||
ID3v2 is not yet implemented. It's on the wishlist but not yet done.
Reading an mp3 from another directory should be fairly easy: just
give a path together with the filename.
Regards,
Stefan
On 15 Feb 2004 at 23:26, Muhyiddin A.M Hayat wrote:
> 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