I wrote a CFX tag that parses out ID3v2 tags, but it is more
Prrof-of-Concept that production-quality.  It comes with full source, so
you are welcome to hack on it to do what you want.

  http://www.rixsoft.com/ColdFusion/CFX/MP3Dir/

HTH,
-R

-----Original Message-----
From: VAN VLIET, SCOTT E (SBCSI) [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 22, 2002 13:46
To: CF-Talk
Subject: RE: Reading ID3-Tags w/ColdFusion


Thanks for the tip, however this tag does not support ID3v2 (I think it
covers up to ID3v1.2).  I did find a Java class that works with CF
(althought it to does not support ID3v2).  Anyone know of a ID3v*
reader? Thanks!

//////////////////////////////////////
FYI, here is the Java class i found, and the accompanying CF code:
http://download.sourceforge.net/fluid/fluid-rc1.zip
//////////////////////////////////////

<cfscript>
        id3Reader = CreateObject("Java","descriptors.mp3.ID3Tag");
        id3Reader.init("C:\311 - From Chaos - 10 - Amber.mp3");
        tagsize = id3Reader.tagsize;
        artist = id3Reader.getArtist();
        album = id3Reader.getAlbum();
        title = id3Reader.getTitle();
        completeName = id3Reader.getCompleteName();
</cfscript>

<cfoutput>
<pre>
This is a test of the Java ID3 Tag Reader Class.
------------------------------------------------
Tag Size:               #tagsize# bytes
Artist:                 #artist#
Album:                  #album#
Title:                  #title#
Complete Name:          #completeName#
</pre>
</cfoutput>

//////////////////////////////////////
Results in:
//////////////////////////////////////

This is a test of the Java ID3 Tag Reader Class.
------------------------------------------------
Tag Size:               128 bytes
Artist:                 311
Album:                  From Chaos
Title:                  Amber
Complete Name:          311 - Amber

Thanks!

-- 
SCOTT VAN VLIET 
SENIOR ANALYST 
SBC SERVICES, INC 
Tel: 858.886.3878 
Fax: 858.653.6763 
Email: [EMAIL PROTECTED]


-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 10:33 AM
To: CF-Talk
Subject: RE: Reading ID3-Tags w/ColdFusion


Theres a CFX tag called CFX_AudioInfo that can AFAIK retreive this info

HTH



-----Original Message-----
From: VAN VLIET, SCOTT E (SBCSI) [mailto:[EMAIL PROTECTED]] 
Sent: 22 March 2002 17:52
To: CF-Talk
Subject: Reading ID3-Tags w/ColdFusion


Do any of you out there know of a COM Object or JavaBean that can read
ID3-Tags from MP3 files?  If so, has anyone had experience using one of
these objects in ColdFusion?  I am buildling a Flash MX Streaming MP3
client (as well as the NEO-based server component) and was to read in
the meta information (artist, album title, song name, etc) for each file
streamed to the client.
 
Thanks in advance!

-- 
SCOTT VAN VLIET 
SENIOR ANALYST 
SBC SERVICES, INC 
Tel: 858.886.3878 
Fax: 858.653.6763 
Email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]


 




______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to