>>Check on wotsit site (
http://www.wotsit.org/). To get theme/artist info you can build a reader from the following code (not robust at all):
>>
m.lnFile = FOPEN(GETFILE())
>>FSEEK(m.lnFile,-128,2)
>>m.lcTag = FREAD(m.lnFile,128)
>>? "Title:",STRTRAN(SUBSTR(m.lcTag,4,30),CHR(0))
>>? "Artist:",STRTRAN(SUBSTR(m.lcTag,34,30),CHR(0))
>>? "Album:",STRTRAN(SUBSTR(m.lcTag,64,30),CHR(0))
>>? "Year:",VAL(SUBSTR(m.lcTag,94,4))
>>FCLOSE(m.lnFile)
>
>I was not aware of that structure. I'm happy to know it can be manipulated directly. I tried your code and it works ok. For what it does, it's pretty robust for me enough. I understand it is not as flexible as instantiating an object and calling its method, but, that's cool.
>
>Now, the interesting part in it is that I tried it on a MP3 file which has a long file name. From the MP3 player, I see over the 30th character for the title. But, if I try to extand the SUBSTR() TO more than 30 characters, it doesn't work. I wonder what formula those MP3 players are using to be able to extract those long file names.
ID1 tag is at the end of the file, and has limited length, and gets lost when the file is incomplete. ID2 is stored at the beginning and has a different structure, so it can keep longer names. As Rick said, roll some of your own and see how it's stored.