🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #510

noobie question

#510
From: Ian Robertson
Date: Tue, 18 Nov 2003 12:28
26 lines
2048 bytes
I am trying to read the ID3 tags from mp3 files. I know ID3v1 is the last
128 bytes of an mp3, and that tag info is preceeded by TAG.
So I think I know where to look.
I can open up an mp3 (small sample) in notepad and ultraedit (hex view) and
Can see the test tags I have created with winamp.

I have tried to load the sample.mp3 as plain text into a memo control just
to see the contents. And it doesnt load properly.

All I get is this:

ID3

in notepad i get the full file:

ID3    vCOMM   (   eng A Test sample to read/write headersTPE1
   3 Doors DownTIT2      KryptoniteTALB      A Better LifeTRCK   
01TYER      2000TCON      Rock
��� �,)TI  '�?��s,�}?\�Ap�>�(.1tg���]TAGKryptonite
3 Doors Down                  A Better Life                 2000


 I want to search the last 128 bytes for the media info, but it doesnt load
into the memo properly. Any ideas?

TIA for any help
Technical Details
Message-ID: <Bgoub.278$C14.748743@newsfep1-win.server.ntli.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail
References: <Maoub.270$C14.729923@newsfep1-win.server.ntli.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10d0fc,f16f59328c2bbb64
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2003-11-18 04:29:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail
From: "Ian Robertson" <mr.ian.robertson@virgin.net>
Newsgroups: borland.public.cppbuilder.multimedia
References: <Maoub.270$C14.729923@newsfep1-win.server.ntli.net>
Subject: noobie question
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Bgoub.278$C14.748743@newsfep1-win.server.ntli.net>
Date: Tue, 18 Nov 2003 12:28:57 -0000
NNTP-Posting-Host: 81.107.194.57
X-Complaints-To: abuse@virgin.net
X-Trace: newsfep1-win.server.ntli.net 1069158561 81.107.194.57 (Tue, 18 Nov 2003 12:29:21 GMT)
NNTP-Posting-Date: Tue, 18 Nov 2003 12:29:21 GMT
Organization: Virgin Net Usenet Service