Yeah, Tore's right. Certain segments of the file contain information about it. I was looking into writing a mini MP3 player before and wanted users to be able to change titles, artist, etc...
Do a search at some VB sites and you should be able to find what you need. Chris Tifer http://www.emailajoke.com ----- Original Message ----- From: "Bostrup, Tore" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 6:12 AM Subject: RE: Accessing File Properties > AFAIK, those properties are part of the file format/contents, and not file > system properties. You would need a description of the MP3 format (or at > least the MP3 file header), or a component/library that know how to access > that information. > > HTH, > Tore. > > -----Original Message----- > From: EXT-Sauceda, Gilbert [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 7:25 PM > To: ActiveServerPages > Subject: Accessing File Properties > > > I am trying to access the properties of an MP3 file with script. Is this > possible? When I right-click on an MP3, and goto the Summary tab, I see all > these properties, like Comments, Keywords, Category, Subject, Title, etc. > > set oFSO = Server.CreateObject("Scripting.FileSystemObject") > set oMP3 = oFSO.GetFile(mp3Path) > > for each p in oMP3.??? > Response.Write p.name & "<br>" > next > > set oFSO = nothing > set oMP3 = nothing > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > %%email.unsub%% > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
