No subject
Ken Ray
kray at sonsothunder.com
Thu Sep 23 16:25:32 EDT 2004
On 9/23/04 2:44 PM, "Yves COPPE" <yvescoppe at skynet.be> wrote:
> Hi Ken,
> I don't understand how your script runs :
>
> I have a script ::
> on mouseUp
> answer file "Choose your mp3 file"
> if it is empty then exit to top
> put url("binfile:"&it) into tData
> extract_ID3v1 tData,songTitle,artist,album,aYear,comments,genre
> end mouseUp
>
>
> but I get nothing ...
>
> can you help me ??
It's likely you get nothing because the MP3 file uses ID3v2 (not v1) tags,
which is in a totally different place in the mP3 file. You can put this
after your call to extract_ID3V1 to verify:
if the result is false then
answer "Not in ID3V1 format."
else
answer songTitle -- should give you the title of the song for
verification
end if
For more info, you can go to http://www.id3.org/develop.html.
HTH,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list