07-15-2009 02:35 AM
07-16-2009 11:43 AM
07-17-2009 02:38 AM
08-19-2009 10:40 AM
08-20-2009 04:34 AM
08-23-2009 04:36 PM
01-01-2010 04:21 PM
01-02-2010 09:45 AM
01-04-2010 11:51 PM
<bean id="extracter.mp3"
class="org.alfresco.repo.content.metadata.MP3MetadataExtracter"
parent="baseMetadataExtracter" >
<property name="mappingProperties">
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location">
<value>classpath:alfresco/extension/mp3Model-extractor-mappings.properties</value>
</property>
</bean>
</property>
</bean>
namespace.prefix.mp3=mp3.model
songTitle=mp3:songTitle
albumTitle=mp3:albumTitle
artist=mp3:artist
description=mp3:description
comment=mp3:comment
yearReleased=mp3:yearReleased
trackNumber=mp3:trackNumber
genre=mp3:genre
composer=mp3:composer
lyrics=mp3:lyrics
<namespaces>
<!– Define a Namespace for my new definitions–>
<namespace uri="mp3.model" prefix="mp3"/>
</namespaces>
<!– Type and Aspect definitions go here –>
<types>
<type name="mp3:audioFile">
<title>Audio File</title>
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>mp3:MP3Metadata</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<aspect name="mp3:MP3Metadata">
<title>MP3 Metadata</title>
<properties>
<property name="mp3:songTitle">
<type>d:text</type>
</property>
<property name="mp3:albumTitle">
<type>d:text</type>
</property>
<property name="mp3:artist">
<type>d:text</type>
</property>
<property name="mp3:description">
<type>d:text</type>
</property>
<property name="mp3:comment">
<type>d:text</type>
</property>
<property name="mp3:yearReleased">
<type>d:text</type>
</property>
<property name="mp3:trackNumber">
<type>d:text</type>
</property>
<property name="mp3:genre">
<type>d:text</type>
</property>
<property name="mp3:composer">
<type>d:text</type>
</property>
<property name="mp3:lyrics">
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects>
</model>
01-05-2010 08:02 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.