I am building an application whereby streams live online radio, everything is working fine.
I just need a few tips on how to extract the song inf开发者_如何学Cormation from the embedded mp3 file and display it on the application i.e now playing with the song information.
I have done my research on ID3 but didn't find any good resource. can anyone help out please
thanks
Check this web-site for the ID3 format specification.
ID3 information specified in the header of mp3 file, read the header, parse it and voila, you have the ID3 information on the playing song.
You don't provide the language you are using but if you are using Java here's a free library that do what you need to do
http://javamusictag.sourceforge.net/
Does this helps? Or provide more details about platform and language.
I've just started to use the Python library eyeD3 - very powerful, very well structured, and come with a nice set of command line tools too.
精彩评论