[ID3 Dev] Determining an offset
Morton, Christopher
CMorton at caiso.com
Fri Feb 17 07:34:24 PST 2006
Right, I get it. Thanks, though. I was simply trying to reuse some
pre-existing code, but I see I'm going to have to dig deeper and
experiment more.
> Chris
-----Original Message-----
From: Tom Sorensen [mailto:tsorensen at gmail.com]
Sent: Friday, February 17, 2006 5:21 AM
To: id3v2 at id3.org
Subject: Re: [ID3 Dev] Determining an offset
Except that, in this case, it can't. You can't use the ID3V1 tag (if
there is one) to get the data you want. You have to parse the ID3V2
tag.
And as long as you're doing that, I'd use it for all the data -- ID3V1
is pretty limited, with relatively short strings for
artist/title/album and limited genre info.
On 2/16/06, Morton, Christopher <CMorton at caiso.com> wrote:
> Thanks, Scott. I had no idea it was ID3v1. That ends the discussion.
>
> The code, incidentally, is WinBatch. Don't knock it 'til you try it. I
> mean, why struggle with the fine points of astronomical mathematics
and
> curved space when simple addition and a straight line can quickly
solve
> a problem?
>
> > Chris
>
> -----Original Message-----
> From: Scott Wheeler [mailto:wheeler at kde.org]
> Sent: Thursday, February 16, 2006 2:03 PM
> To: id3v2 at id3.org
> Subject: Re: [ID3 Dev] Determining an offset
>
> On Thursday 16 February 2006 20:13, Morton, Christopher wrote:
> > Please consider the following code (the language doesn't matter) for
a
> > routine that dumps ID3v2 tag data into Excel. As you do, note the
> binary
> > offset numbers. My question is, what might be the offset number
where
> > the "album art" flag (1/0) is located? That's a pressing matter for
> this
> > exercise (and that's what it is)-to determine if a given MP3 has 1)
> been
> > tagged and 2) if the metadata includes (YES/NO) the album JPG.
Thanks.
>
> While I must say that I don't really understand the point of the
> question, the
> code you pasted (is that Basic? Wow, been a while...) is an ID3v1
> implementation, not ID3v2. ID3v1 is trivially easy since all fields
are
> of
> fixed length and at the end of the file. Not surprisingly, there are
no
>
> images in ID3v1 tags.
>
> -Scott
>
> --
> Confidence is the feeling you have before you understand the
situation.
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org
More information about the ID3v2
mailing list