I know this has been asked here before but my conditions are a little different. I am making a chrome app so i have access to all the latest JavaScript file apis it supports without worrying about compatibility. More over i would really like to do this my self.. ie without any library. A tutorial or a guide will do. After all how difficult can it really be?
Basically i have mp3's that user adds and i want to be able to read most basic information like artist and Album (actually, just these two but others wont do any harm).
I believe i have the idea of what id3 tag is and how can the info be read. I just have to see it in action just once. Thanks
If you want to view and edit ID3 audio or MP3 tags in VLC Media Player, then it has been really made simple. The quickest way to view/edit it is by using the CTRL + I shortcut key on your PC or by navigating to Tools > Media Information.
Your ID3 tag can be found by first going into iTunes, then selecting a specific song. From here, right click the selected song and select "Get Info". After you have opened this, a dialog box displaying the information will appear.
An ID3 tag is a type of metadata container used to store information into a media file (traditionally an MP3 audio file). The ID3 tags could include a title, an album title, the artist (author), genre, cover art, the year recorded and other details that are useful for the listener of your show.
There's no need to use binaryajax.js or id3 parser lib anymore. In Chrome at, you can use FileReader
and DataView
to read and extract the ID3v1 info. It's just a few lines:
http://ericbidelman.tumblr.com/post/8343485440/reading-mp3-id3-tags-in-javascript
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With