Corey-M/NAudio.Lame

Request: Read ID3 tags from an mp3 file

ftamminga opened this issue · 2 comments

It would be great if you would add the possibility to read ID3 tags from an mp3 file.
Now I have to add yet another NuGet package, just to do that.

If you look at the ID3 tests (specifically the ReadID3v2Tag() method) there's some simple code to extract the ID3v2 tag from a stream as byte[] whcih can then be parsed by the ID3Decoder.Decode() method.

The test code isn't particularly safe or pretty but it is fairly small, and NAudio.Lame.ID3Decoder is public so you should be able to use it.

If it's a bit deal I could move the tag reader into ID3Decoder I guess.

Doing some housekeeping here, going to close this one off. Reopen if you want me to work on this.