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!
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!