Re: Re: [Proposal] id3v1

From: Date: Mon, 07 Jun 2004 19:27:36 +0000
Subject: Re: Re: [Proposal] id3v1
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-751@lists.php.net to get a copy of this message
Hi, I think the id3 support should stay in your etension, too since one might do some audio editing _and_ want to read/change the id3 info. If we seperate these parts, one needs to do something like this to edit the file and the id3 info: <?php $file = mp3_open('some.file.mp3'); mp3_do_something($file); mp3_close($file); $file = id3_open('some.file.mp3'); id3_set_tag($file, 'foo', 'bar'); id3_close($file); ?> There I think it's better to have two id3 function sets, maybe with the same function signatures or is there a way to do some magic like with SimpleXML and DOM so one can use the same file handle with these two extensions? Have nice vacations, johannes Justin Hannus wrote: > You both have excellent points. Maybe it would be better for me to remove > the id3tag support from the code I've written and just stick to the > reading/writing parts. If someone needs to read and write both the sound > data and id3 tags then they can just install the two extensions. > > Even though that was a bit of a pre-mature proposal it generated some good > feedback. I'll keep the list posted on my progress when I get back from > vacation. > > Justin

« previous php.pecl.dev (#751) next »