How to get information about an MP3 file (for example, author, title, album, year, etc.) with not too complicated encoding?

I just need a simple piece of code that can give me the author, album, year, title and genre from the mp3 file. If possible, in the form of variables, so that I can work with it. All I want to do is show this information in a shortcut. For instance. lblArtist, lblAlbum, lblGenre, lblYear, lblTitle. If anyone can help me, I wo

+3
source share
3 answers

The information you want is called ID3 . There are many answers on this site for this (in many languages). For example, How to read MP3 files

+3
source

MP3 ID3 , , .

stackoverflow:

Personally, I like the BASS library , but it makes a lot more audio files, so you only have to spend energy if you want to do more (for example, game, mixing, effects, etc.). However, all this is wonderful. Bass hand wrappers in many languages ​​and platforms, including Delphi, .NET, Windows, iOS, just to name a few.

- Jeroen

+1
source

Source: https://habr.com/ru/post/1793301/


All Articles