Author: jukka
Date: Sun Sep 14 05:13:30 2008
New Revision: 695207
URL: http://svn.apache.org/viewvc?rev=695207&view=rev
Log:
TIKA-120: Add support for retrieving ID3 tags from MP3 files
There's now a magic header to (somewhat reliably) detect MP3 files, so we no
longer need to include the file name to let AutoDetectParser figure out what to
do with the document.
Modified:
incubator/tika/trunk/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java
Modified:
incubator/tika/trunk/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java
URL:
http://svn.apache.org/viewvc/incubator/tika/trunk/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java?rev=695207&r1=695206&r2=695207&view=diff
==============================================================================
---
incubator/tika/trunk/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java
(original)
+++
incubator/tika/trunk/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java
Sun Sep 14 05:13:30 2008
@@ -35,7 +35,6 @@
Parser parser = new AutoDetectParser(); // Should auto-detect!
ContentHandler handler = new BodyContentHandler();
Metadata metadata = new Metadata();
- metadata.set(Metadata.RESOURCE_NAME_KEY, "testMP3.mp3");
InputStream stream = Mp3ParserTest.class.getResourceAsStream(
"/test-documents/testMP3.mp3");