From Mahadevaswamy.Lingaiah at delphi.com Tue Apr 19 04:41:35 2005 From: Mahadevaswamy.Lingaiah at delphi.com (Mahadevaswamy.Lingaiah) Date: Tue, 19 Apr 2005 17:11:35 +0530 Subject: [ID3 Dev] Difference b/w ID3v2.3 and ID3v2.4 Message-ID: <1DBC97F158E5CB448D1C0BE7CE81DEE62B7DA1@INKARBLR-EX01.Asia.DelphiAuto.net> Hi, Could you please tell me the basic dfference between the ID3V2.3 and ID3V2.4 Vesrion? Thanks, Swamy **************************************************************************************** Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. **************************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From fiji at ayup.limey.net Mon Apr 11 13:37:45 2005 From: fiji at ayup.limey.net (Ben Bennett) Date: Mon, 11 Apr 2005 16:37:45 -0400 Subject: [ID3 Dev] Sample tags? In-Reply-To: <425AD931.5090005@northpb.com> References: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> <20050411174702.GB9089@ayup.limey.net> <425AD931.5090005@northpb.com> Message-ID: <20050411203745.GA19548@ayup.limey.net> I can produce some tags, but can someone validate them with an alternate parser? I will produce a textual description of the tag and its contents too (along with discussion of "interesting" or tricky features of the tag). -ben On Mon, Apr 11, 2005 at 01:08:17PM -0700, Dan O'Neill wrote: > Ben Bennett wrote: > >So... there has been a message on http://www.id3.org/develop.html for > >ages saying "Test Suite in Developlemt" and "A comprehensive test > >suite for all versions of ID3 tags are currently under development." > > > >Is there a test suite forthcoming? > > I would be glad to host any test suites and instructions that this group > comes up with. > > >I have a test suite for my Perl library that I have been working on, > >but I would like to see other tags people have written. > > > >I am willing to share my current test code but it is pretty Perl > >specific and tests frames individually for the most part (rather than > >testing a whole tag), so I am not sure if it will be useful to other > >people. > > > >I am especially concerned about the following frames: > > - RVAD > > - RVA2 > > - MLLT > > - EQUA > > - ASPI > >Since they are pretty binary specific and there are not many of these > >tags in the wild. > > > >The other issue is with the frame size of large frames. iTunes does > >not write syncsafe integers for a 2.4 frame... it uses the old 2.3 > >behavior and just writes an integer. I would appreciate it if someone > >else could validate this behavior and tell me if it is contrary to the > >2.4 spec. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: id3v2-unsubscribe at id3.org > For additional commands, e-mail: id3v2-help at id3.org --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From christophe at kualasoft.com Mon Apr 11 17:25:17 2005 From: christophe at kualasoft.com (Christophe Kualasoft) Date: Tue, 12 Apr 2005 08:25:17 +0800 Subject: [ID3 Dev] Sample tags? References: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> <20050411174702.GB9089@ayup.limey.net> <425AD931.5090005@northpb.com> <20050411203745.GA19548@ayup.limey.net> Message-ID: <017d01c53ef6$2a6bec40$3201a8c0@eapac.ericsson.se> Hi Ben, I am going to include 2.4 in vdHeide but that will take some time. We can then cross-check functionality and implementation practise. Cheers / Christophe ----- Original Message ----- From: "Ben Bennett" To: Sent: Tuesday, April 12, 2005 4:37 AM Subject: Re: [ID3 Dev] Sample tags? > I can produce some tags, but can someone validate them with an > alternate parser? > > I will produce a textual description of the tag and its contents too > (along with discussion of "interesting" or tricky features of the tag). > > -ben > > On Mon, Apr 11, 2005 at 01:08:17PM -0700, Dan O'Neill wrote: > > Ben Bennett wrote: > > >So... there has been a message on http://www.id3.org/develop.html for > > >ages saying "Test Suite in Developlemt" and "A comprehensive test > > >suite for all versions of ID3 tags are currently under development." > > > > > >Is there a test suite forthcoming? > > > > I would be glad to host any test suites and instructions that this group > > comes up with. > > > > >I have a test suite for my Perl library that I have been working on, > > >but I would like to see other tags people have written. > > > > > >I am willing to share my current test code but it is pretty Perl > > >specific and tests frames individually for the most part (rather than > > >testing a whole tag), so I am not sure if it will be useful to other > > >people. > > > > > >I am especially concerned about the following frames: > > > - RVAD > > > - RVA2 > > > - MLLT > > > - EQUA > > > - ASPI > > >Since they are pretty binary specific and there are not many of these > > >tags in the wild. > > > > > >The other issue is with the frame size of large frames. iTunes does > > >not write syncsafe integers for a 2.4 frame... it uses the old 2.3 > > >behavior and just writes an integer. I would appreciate it if someone > > >else could validate this behavior and tell me if it is contrary to the > > >2.4 spec. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: id3v2-unsubscribe at id3.org > > For additional commands, e-mail: id3v2-help at id3.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: id3v2-unsubscribe at id3.org > For additional commands, e-mail: id3v2-help at id3.org > --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From fiji at ayup.limey.net Mon Apr 11 10:35:01 2005 From: fiji at ayup.limey.net (Ben Bennett) Date: Mon, 11 Apr 2005 13:35:01 -0400 Subject: [ID3 Dev] tagsize calcultaion In-Reply-To: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> References: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> Message-ID: <20050411173501.GA9089@ayup.limey.net> On Sun, Apr 10, 2005 at 01:28:52PM +0800, Christophe Kualasoft wrote: > Hi, As a warning, this list seems very quiet. I posted a question about the iTunes frame size not being syncsafe in 2.4 (which looks like an error to me) and got no reply. I have been working on the Perl ID3v2 parser (to give int 2.4 support and implement support for all 2.3 and 2.4 frame) but I have no insight other than what I have read in the two specs. > My questions: > > According to spec the size value in the ID3v2 header should include the size > of the padding bytes. > and then the extended header should include the padding size as well. Why > include the padding size into > 2 places? In 2.3 that is the case. It is obviously needed in the main header since it tells programs where to read the tag (or how far to skip if they don't care). I can only guess that it is in the extended header to tell an ID3 parser how much memory it needs to allocate to hold the unparsed frame in memory. However, I can't find anything in the spec that actually requires the extended header if padding is present. If you write an extended header it must contain the padding size. In the spirit of "Be liberal in what you accept, and conservative in what you send" (from the late great Jon Postel) I would generate an extended header but write the parser to stop looking for tags when it hits the first frame name that is all nul bytes. In 2.4 the extended header does not contain the padding size. > BTW, the improved vdHeide will be available as open source on sourceforge. Cool. And my library will be available on CPAN as MPEG::ID3v2Tag (assuming the current author accepts my diffs). -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From Mahadevaswamy.Lingaiah at delphi.com Tue Apr 19 03:49:37 2005 From: Mahadevaswamy.Lingaiah at delphi.com (Mahadevaswamy.Lingaiah) Date: Tue, 19 Apr 2005 16:19:37 +0530 Subject: [ID3 Dev] How to get the size of pict? Message-ID: <1DBC97F158E5CB448D1C0BE7CE81DEE62B7D9E@INKARBLR-EX01.Asia.DelphiAuto.net> Hi, I have ID3v2 file with pict information (APIC). I need to find the size of the pict. How to identify it? Thanks, Swamy **************************************************************************************** Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. **************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From fiji at ayup.limey.net Mon Apr 11 10:47:02 2005 From: fiji at ayup.limey.net (Ben Bennett) Date: Mon, 11 Apr 2005 13:47:02 -0400 Subject: [ID3 Dev] Sample tags? In-Reply-To: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> References: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> Message-ID: <20050411174702.GB9089@ayup.limey.net> So... there has been a message on http://www.id3.org/develop.html for ages saying "Test Suite in Developlemt" and "A comprehensive test suite for all versions of ID3 tags are currently under development." Is there a test suite forthcoming? I have a test suite for my Perl library that I have been working on, but I would like to see other tags people have written. I am willing to share my current test code but it is pretty Perl specific and tests frames individually for the most part (rather than testing a whole tag), so I am not sure if it will be useful to other people. I am especially concerned about the following frames: - RVAD - RVA2 - MLLT - EQUA - ASPI Since they are pretty binary specific and there are not many of these tags in the wild. The other issue is with the frame size of large frames. iTunes does not write syncsafe integers for a 2.4 frame... it uses the old 2.3 behavior and just writes an integer. I would appreciate it if someone else could validate this behavior and tell me if it is contrary to the 2.4 spec. -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From rmanson at gracenote.com Mon Apr 11 11:58:35 2005 From: rmanson at gracenote.com (Robert Manson) Date: Mon, 11 Apr 2005 11:58:35 -0700 Subject: [ID3 Dev] tagsize calcultaion Message-ID: <27905705A869164CBE58B96BA8547557269D97@mail.internal.cddb.com> > According to spec the size value in the ID3v2 header should include the size > of the padding bytes. > and then the extended header should include the padding size as well. Why > include the padding size into > 2 places? Presumably the padding size info in the extended header could be used to calculate the total size of the frames in the tag. In some cases it could also be used to quickly determine if a frame could be appended to the tag without necessitating a rewrite (ie there is enough padding the tag for the frame). >In the spirit of "Be liberal in what you accept, and conservative in >what you send" (from the late great Jon Postel) I would generate an >extended header but write the parser to stop looking for tags when it >hits the first frame name that is all nul bytes. Many ID3 can only parse a subset of the actual ID3v2 specification (some don't support compression/decompression, un-synchronization, etc) and just ignore the entire tag if they see something they don't like. Therefore I would recommend not appending the extended header by default and instead let it be enabled as a user-configurable option. -----Original Message----- From: Ben Bennett [mailto:fiji at ayup.limey.net] Sent: Monday, April 11, 2005 10:35 AM To: id3v2 at id3.org Subject: Re: [ID3 Dev] tagsize calcultaion On Sun, Apr 10, 2005 at 01:28:52PM +0800, Christophe Kualasoft wrote: > Hi, As a warning, this list seems very quiet. I posted a question about the iTunes frame size not being syncsafe in 2.4 (which looks like an error to me) and got no reply. I have been working on the Perl ID3v2 parser (to give int 2.4 support and implement support for all 2.3 and 2.4 frame) but I have no insight other than what I have read in the two specs. > My questions: > > According to spec the size value in the ID3v2 header should include the size > of the padding bytes. > and then the extended header should include the padding size as well. Why > include the padding size into > 2 places? In 2.3 that is the case. It is obviously needed in the main header since it tells programs where to read the tag (or how far to skip if they don't care). I can only guess that it is in the extended header to tell an ID3 parser how much memory it needs to allocate to hold the unparsed frame in memory. However, I can't find anything in the spec that actually requires the extended header if padding is present. If you write an extended header it must contain the padding size. In the spirit of "Be liberal in what you accept, and conservative in what you send" (from the late great Jon Postel) I would generate an extended header but write the parser to stop looking for tags when it hits the first frame name that is all nul bytes. In 2.4 the extended header does not contain the padding size. > BTW, the improved vdHeide will be available as open source on sourceforge. Cool. And my library will be available on CPAN as MPEG::ID3v2Tag (assuming the current author accepts my diffs). -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From id3v2 at northpb.com Mon Apr 11 13:08:17 2005 From: id3v2 at northpb.com (Dan O'Neill) Date: Mon, 11 Apr 2005 13:08:17 -0700 Subject: [ID3 Dev] Sample tags? In-Reply-To: <20050411174702.GB9089@ayup.limey.net> References: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> <20050411174702.GB9089@ayup.limey.net> Message-ID: <425AD931.5090005@northpb.com> Ben Bennett wrote: > So... there has been a message on http://www.id3.org/develop.html for > ages saying "Test Suite in Developlemt" and "A comprehensive test > suite for all versions of ID3 tags are currently under development." > > Is there a test suite forthcoming? I would be glad to host any test suites and instructions that this group comes up with. > I have a test suite for my Perl library that I have been working on, > but I would like to see other tags people have written. > > I am willing to share my current test code but it is pretty Perl > specific and tests frames individually for the most part (rather than > testing a whole tag), so I am not sure if it will be useful to other > people. > > I am especially concerned about the following frames: > - RVAD > - RVA2 > - MLLT > - EQUA > - ASPI > Since they are pretty binary specific and there are not many of these > tags in the wild. > > The other issue is with the frame size of large frames. iTunes does > not write syncsafe integers for a 2.4 frame... it uses the old 2.3 > behavior and just writes an integer. I would appreciate it if someone > else could validate this behavior and tell me if it is contrary to the > 2.4 spec. --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From eric.pederson at gmail.com Mon Apr 11 11:11:06 2005 From: eric.pederson at gmail.com (Eric Pederson) Date: Mon, 11 Apr 2005 11:11:06 -0700 Subject: [ID3 Dev] tagsize calcultaion In-Reply-To: <20050411173501.GA9089@ayup.limey.net> Message-ID: Hi all, Has anyone documented a ID3v2 reading algorithm? Perhaps that would help with adoption by various applications. It would help me with my (prospective) reader (in Python) - I haven't had time to focus sufficiently on the spec, yet. Eric - - - - - - - - - - - - - > BTW, the improved vdHeide will be available as open source on > sourceforge. Cool. And my library will be available on CPAN as MPEG::ID3v2Tag (assuming the current author accepts my diffs). -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From fiji at ayup.limey.net Tue Apr 19 07:11:56 2005 From: fiji at ayup.limey.net (Ben Bennett) Date: Tue, 19 Apr 2005 10:11:56 -0400 Subject: [ID3 Dev] Difference b/w ID3v2.3 and ID3v2.4 In-Reply-To: <1DBC97F158E5CB448D1C0BE7CE81DEE62B7DA1@INKARBLR-EX01.Asia.DelphiAuto.net> References: <1DBC97F158E5CB448D1C0BE7CE81DEE62B7DA1@INKARBLR-EX01.Asia.DelphiAuto.net> Message-ID: <20050419141156.GA3107@ayup.limey.net> Look at http://www.id3.org/develop.html, specifically the ID3v2.4.0 changes document: http://www.id3.org/id3v2.4.0-changes.txt -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From david_j_johnson at comcast.net Mon Apr 11 12:10:32 2005 From: david_j_johnson at comcast.net (david_j_johnson at comcast.net) Date: Mon, 11 Apr 2005 19:10:32 +0000 Subject: [ID3 Dev] ID3V2 Library/Component for ASP.NET/C# Message-ID: <041120051910.26653.425ACBA80007C4100000681D220700295302019C02080106A106A10B07900E0B@comcast.net> Can anyone recommend a free component for reading/setting ID3V2 tags from ASP.NET/C#? --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From heshiming at gmail.com Tue Apr 12 02:10:31 2005 From: heshiming at gmail.com (He Shiming) Date: Tue, 12 Apr 2005 17:10:31 +0800 Subject: [ID3 Dev] New to id3lib, trying to use it with Win32 CreateFile handle Message-ID: <001801c53f3f$88fb5770$0100a8c0@nova> Hi, I'm quite new to the id3lib. And I've got a question regarding using it on the windows platform. The tutorial in the api doc is quite simple, but it didn't illustrate how one can use Unicode file names. I guess (hadn't seen much of the source code yet) its underlying ID3_IFStreamReader is using standard CRT to do file I/O. But as I also see these ID3_Reader ID3_MemoryReader classes. It just makes sense to me that I can create a customized file I/O handler for id3lib in order to use Windows API based I/O. But how can I do that? Is there any example available or I should just read the source code? One more thing, is there anyway (or does id3lib support) to force id3lib output tags/values in Unicode? An array of wchar_t, or even std::wstring will be nice. If not, is it possible for it to output in UTF-8 character sequence? If still not, what encoding conversion should I use? Am I supposed to basically use the current encoding settings on user's computer? Best regards, He Shiming --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From fiji at ayup.limey.net Mon Apr 11 11:25:21 2005 From: fiji at ayup.limey.net (Ben Bennett) Date: Mon, 11 Apr 2005 14:25:21 -0400 Subject: [ID3 Dev] tagsize calcultaion In-Reply-To: References: <20050411173501.GA9089@ayup.limey.net> Message-ID: <20050411182521.GA11819@ayup.limey.net> On Mon, Apr 11, 2005 at 11:11:06AM -0700, Eric Pederson wrote: > Has anyone documented a ID3v2 reading algorithm? Perhaps that would help > with adoption by various applications. It would help me with my > (prospective) reader (in Python) - I haven't had time to focus sufficiently > on the spec, yet. Not that I am aware of. The basic algorithm I use is pretty simple though: - Look for the tag header at the start (or the footer near the end for 2.4) then get the total tag size - Read the whole tag into memory - Parse the extended header (this is version dependent, 2.3 and 2.4 are different) - Parse the body of the tag frame by frame: + Read the frame header & work out the frame size (2.3/2.4 dependent) + Read the frame body + Optionally parse the frame body (you can do it now, or do it later if an accessor on the frame is called) The devil is of course in the details. The nasty problems you will have to consider are: - How to parse all of the frames... I built a simple data structure to describe most of the frames and then wrote a generic parser that can use the structure to read and validate them - How to handle the differences between 2.3 and 2.4 (some tags got changed, so if you want to convert between 2.3 and 2.4 you have some thinking to do, I am still working on this) - If you want to handle tag grouping (for encryption). I have never seen anything that uses this, so I may punt - If you want to support the LINK tag... again, I haven't seen anything that uses it, so I may punt - How to handle bogus 2.4 implementations (e.g. iTunes) I can make my current Perl code available if you want, but I am still in an exploratory mode, so the code is not particularly clean, and it is sprinkled with TODO items. I need to refactor it and move some duplicate code into subroutines before I actually am willing to release it... Anyway, let me know if you want to see it. There are programing guidelines at http://www.id3.org/id3guide.htm that provide some good pointers (mostly for writing frames though). Also there is a document summarizing the changes between 2.3 and 2.4 that is worth a close read... there are things there that I didn't get until I re-read it http://www.id3.org/id3v2.4.0-changes.txt. Good luck, -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From Mahadevaswamy.Lingaiah at delphi.com Tue Apr 19 04:06:23 2005 From: Mahadevaswamy.Lingaiah at delphi.com (Mahadevaswamy.Lingaiah) Date: Tue, 19 Apr 2005 16:36:23 +0530 Subject: [ID3 Dev] ID3V2 supporting songs Message-ID: <1DBC97F158E5CB448D1C0BE7CE81DEE62B7DA0@INKARBLR-EX01.Asia.DelphiAuto.net> Hi, Where can I find the songs which supports different ID3V2 versions like 2.1, 2.2, 2.3 and 2.4? Thanks, Swamy **************************************************************************************** Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. **************************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From christophe at kualasoft.com Sat Apr 9 22:28:52 2005 From: christophe at kualasoft.com (Christophe Kualasoft) Date: Sun, 10 Apr 2005 13:28:52 +0800 Subject: [ID3 Dev] tagsize calcultaion Message-ID: <00ad01c53d8e$30ad6ed0$3301a8c0@eapac.ericsson.se> Hi, I am trying to improve the vdHeide library as my project is heavily dependent on this lib. I can see from the vd heide code, that when updating the ID3v2 tags the padding size is not added to the header tag size fields and not to the padding size in the extended header. My questions: According to spec the size value in the ID3v2 header should include the size of the padding bytes. and then the extended header should include the padding size as well. Why include the padding size into 2 places? BTW, the improved vdHeide will be available as open source on sourceforge. Thanks / Christophe jpodder.com --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org