cancel
Showing results for 
Search instead for 
Did you mean: 

Meta Data Extraction

thaneshk
Champ in-the-making
Champ in-the-making
Hi,

I was wondering whether any of the Alfresco engineers or someone else can point whether the default Alfresco app uses metadata extraction for files like Mp3, etc.





          <bean class="org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.OfficeMetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.HtmlMetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.StringMetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.MP3MetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.OpenDocumentMetadataExtracter" />
          <bean class="org.alfresco.repo.content.metadata.UnoMetadataExtracter" >


I saw this under content-services.xml and was wonderign whether it is being utilized for content such as mp3 files. Currently i cannot verify this.

Also if i am to create a custom java application, how can i use this class such as OfficeMetaDataExtracter. If someone can give me a small code snippet i can work myself up.

Thank You
1 REPLY 1

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Yes, we use an open source library to extract some of the details embedded within an MP3 file as it added to the repository.

Currently the title will be set to the title of the track, the author to the artist and the description to a combination of artist, album and track name.

There is a lot more information that can be extracted, but until we have a 'music' aspect there is nowhere for this data to go.

At the moment we only do this for MP3 files, but I expect over time we will start to do this for lots of other file formats.  It's the sort of thing we hope the community will help us with.

Cheers,
Roy