[ID3 Dev] Can text frames be empty

Mitchell S. Honnert mitch at honnert.com
Mon Feb 12 11:19:44 PST 2007


>If it is valid, is it still better to remove the empty frame?
Based on my reading of the spec, an "empty" frame should be removed.  If a frame must have data and it doesn't have data, it's invalid, so don't save it.

 - Mitchell S. Honnert
  ----- Original Message ----- 
  From: Dale Preston 
  To: id3v2 at id3.org 
  Sent: Sunday, February 11, 2007 2:28 PM
  Subject: [ID3 Dev] Can text frames be empty


  The description for ID3V2.3 frames says that frames must include at least one byte of data.  How does this rule applied to text frames?  For instance, if track number is not set, is a TRCK frame with the frame data as { 0, 0 }, representing an encoding byte, no string data, and then a null termination byte, considered a valid frame?  

   

  If it is valid, is it still better to remove the empty frame?  For instance, if track number is not set, is it better to leave an existing TRCK frame with 0,0 for the data or is it better to remove the TRCK frame altogether?

   

  Thanks,

   

   

  Dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.id3.org/pipermail/id3v2/attachments/20070212/044e2872/attachment.html>


More information about the ID3v2 mailing list