Hmmmm, you are probably correct Jim. One of the major source of problems with the ID3v2 standards is the fact they are so open to interpretation and fail to be explicit is areas such as this.<br><br>My thoughts have always been this; if the standard does not explicitly state that something is
<br>permitted and the failure to do so would lead to backward compatibility issues; then I have taken<br>it as not being permitted (if that makes sense!!!).<br><br>In this case, I would interpret the standard as not permitting footers for pre-pended tags.
<br><br>Besides, I am not quite sure what benefit there is if a pre-pended tag has a footer.<br><br>Andy.<br><br>p.s. sorry about the bluntness before, I had a long trip into work!<br><br><div><span class="gmail_quote">On 14/11/06,
<b class="gmail_sendername">Jim</b> <<a href="mailto:jmartin92@comcast.net">jmartin92@comcast.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">I'm not sure about that. I know that appended
tags MUST have a footer but there is nothing that says a prepended tag can't
have a footer. (At least nothing that I know of. Am I wrong about
that?)</font></div><div><span class="e" id="q_10ee5b277ea11bd3_1">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="andy@andy-k.co.uk" href="mailto:andy@andy-k.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Andy</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="id3v2@id3.org" href="mailto:id3v2@id3.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
id3v2@id3.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Tuesday, November 14, 2006 3:46
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [ID3 Dev] Why is footer not
included in total size?</div>
<div><br></div>I am pretty sure that footers are only to be written to a file
when the tag is appended, not pre-pended.<br><br><br>
<div><span class="gmail_quote">On 14/11/06, <b class="gmail_sendername">Jim</b>
<<a href="mailto:jmartin92@comcast.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> jmartin92@comcast.net</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I am wondering what the reasoning was
behind the size stored in ID3v2.4 tags not including the size of the footer
(if present). </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I've been looking through the source code for
some utilities for MP3 files and some other audio file types. Many of
these utilities use a simple method for skipping over the ID3v2 tag if it is
there. They read the first 10 bytes of the file, do some simple
checking (look for 'ID3', check that version bytes are less than $FF and in
some cases check that size bytes are syncsafe, i.e. < $80) and if it
looks like a tag, convert the size and skip that many bytes ahead (+ 10
bytes for header). Most of these utilities would be broken if the
tag has a footer. They don't do any specific version checking or
checking of the flags byte. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">If the size stored in ID3v2.4 tags included the
footer size (if it is present), it would make these tags much more backwards
compatible. (I know it is a pretty easy change to add
checking for the footer flag but wouldn't it have been better
to make it compatible with older apps that don't really need to
read the tag, just skip it?) Were there reasons that came
up during development why it was done the way it is? If so, I'd
appreciate if someone could share them with me. Or if there is
somewhere I can read about this (like some archive of the mailing list) I
would appreciate someone pointing me in the right direction.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Jim Martin</font></div>
<div><font color="#808080" face="Verdana" size="1"><font color="#000000" face="Arial" size="2"></font></font> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Andy. </blockquote></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Andy.