I just want a simple piece of code that can give me the author, album, year, title and genre from a mp3 file. If one can, in the form of variables so that I can work with that. All I want to do is let this information show in a label. Eg. lblArtist, lblAlbum, lblGenre, lblYear, lblTitle. If any one can give me some help, I wo
Asked
Active
Viewed 5,273 times
3 Answers
3
The information you want is called ID3. This site has many answers for this (in many languages). For example, How to read MP3 file tags
1
- How to Read / Write ID3 Tags in MP3 Files 1 - 2 - 3
- Your first MP3 Delphi player
- ID3v2 Library is a component for use in Win32
- James Webb ID3v2.3.0 & ID3v2.4.0 Delphi library
- PBB Player ( pbb-player ) - ID3v2adv.pas
Related Stackoverflow:

Community
- 1
- 1

Luca Filosofi
- 30,905
- 9
- 70
- 77
-
hi DelphiBeginner_XD see my update. ps next time tell us what language are you using first ;) – Luca Filosofi Feb 22 '11 at 13:09
-
Hehe, sorry. Will do that next time. Thanx. :) – Armand Maree Mar 03 '11 at 16:34
1
MP3 tags are in ID3 format, so that is what you are after.
More related stackoverflow questions:
Personally I love the BASS library, but that does much more audio stuff, so it is only worth the effort if you want to do more (like playing, mixing, effects and such). It does those things in an excellent way though. Bass hand wrappers in many languages and platforms, including Delphi, .NET, Windows, iOS, just to name a few..
--jeroen

Community
- 1
- 1

Jeroen Wiert Pluimers
- 23,965
- 9
- 74
- 154