• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

I need help with a pretty major function....can someone help me code it? / find one?

WarDemon666

Platinum Member
Ok heres the problem. Im pretty much done my VB6 carputer software(plays music and uses gps etc), but my ID3V1 & ID3V2 tag reading doesnt work well.... It sometimes lags when loading titles, and sometimes it returns garbage!

Like, in the title name it would be written " ¥?ÜMetallica - Sad But True "

with useless spaces and the first characters are garbage. For the spaces i could just use trim, but for the garbage im not quite sure. I cannot seem to find any good ID3 classes/modules. Could anyone find GOOD code for getting the right info from the tags, and write a condition to use V1 tags if there are no V2 tags available? and if there are no tags available, just use the filename - the extension?

Example:

i would code: GetMp3TagfromPath("c:\testsong.mp3") and it would msgbox at the end of the function, the path, the title, and the genre? (thats all i need, i dont care about the other tag junk)

if there is no genre, set the genre as "No Genre", if there is no title, use the file name without the extension.

Thanks to all who help!
 
Back
Top