I don’t like spending lots of time learning and figuring out things that have already been discovered, so after I learned how to interface with a lot of the tag information in VB, and after a couple of e-mails requesting help, I decided to release it in the form of a tutorial. I tried my best to make it as understandable and functionable as possible.
One thing I didn’t cover was information about the specific tag types, such as ID3v1 or v2, or Ogg Vorbis. There are certain specifics to each one that would make this tutorial too in depth (I think it got a little deep as it is). Instead if you’re looking for specific information on those, you should search the web. This tutorial should be available for quite some time. If for any reason you cannot link to it, e-mail me.
I hope many find it useful. Also, errors or such please e-mail me! (code errors or explanation errors, not typos!)
[color=darkred:24g6ysqz][b:24g6ysqz]URL no longer works!!! Sorry! Read below![/b:24g6ysqz][/color:24g6ysqz]
- RootBoyRalph asked 14 years ago
Top job RootBoyRalph! Just remember that not all tag fields are strings. They could be images or some other binary data. If you ran your program on a file containing a non-string tag field then it’ll definitely give you bad output and possibly even crash.
I just cycled through and tested a lot of MP3s. I could not find any information it could not display properly without crashing. I didn’t, however, come across any images. Can someone with binary or other type information in their tags test this out please?
- RootBoyRalph answered 14 years ago
Names are always strings. Values may be any sort of data. If you don’t recognise the name then don’t assume anything about the data because it could be absolutely anything. Check out [url:1brpahuk]http://www.id3.org[/url:1brpahuk] and [url:1brpahuk]http://www.xiph.org[/url:1brpahuk] for ID3 and Vorbis Comment tag specs. All SHOUTcast, Icecast and HTTP tag values are guaranteed to be strings.
Thank you for excellent example code.
One MAJOR drawback…. it does not handle Unicode strings. They are double byte string, and I have lots of those in my ID3 tags.
There should be someone out there who can tell how it can be decided as a Unicode string, but I know that the three first characters are special.
For example this is a Unicode string: “ÿþS u p e r T r o o p e r “
If you use this line it will return the correct VB string:
It’s been a couple years since I’ve even touched any programming, but it looks like there might still be a need for a short tutorial.
I hate to bring such an old topic back to life, but I can no longer find this tutorial I created, plus it had some shortcomings (mentioned above).
Moderators, do you think there is still a need for a tutorial? I wouldn’t mind creating one, but if someone else has already outdone me, then I won’t rewrite it.
Also, I don’t know what’s different in the new Ex version as it has been a while since I worked with fmod, so I’d have to learn that I guess to make the tutorial inclusive.
- RootBoyRalph answered 11 years ago
Please login first to submit.