I have a module that can do that for you.
It is not perfect on getting comments (much garbage in mp3 files)
but the artist, title, album, etc. work fine.
Let me know if you want it and I will send it to you.
An alternative, of course, is to use applescript, which I use to
change these fields.
bill mahaffey
On Jul 28, 2006, at 5:17 AM, Carlo Rubini wrote:
I'm trying to get name, artist and album of a given movie.
In the Info window of QuickTime Player I get: Fire Of Love,
Gabriela Anders, Wanting
Using this code (from the LReference -> EditableMovie) I get name
and album (for album I replace ©nam with ©alb):
myBool = myEditable.UserData.GetUserData(convertencoding
("©nam",encodings.SystemDefault),1,myVal)
for i = 0 to 30//remove undesired glyphs like option, shift etc
glyphs
myVal = myVal.ReplaceAll(chr(i), "")
next
msgBox myVal//I get: 'Fire Of Love' and 'Wanting'
To get Artist I tried ©prf, ©art, ©Art and so on, but without success.
Can somebody suggest what I should enter in order to get Artist?
Apart from using a plugin, is there any free code to get Artist
from a mp3 file? (in fact I'm interested in mp3 files only). From
RBGarage I got 'MP3Info' of Christian, but I was not able to have
it work.
Thanks,
--
Carlo
_______________________________________________
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>