ALF-9521 - Add the new Audio model to the list of "media-related" namespaces for the Pragmatic Metadata Overwrite Policy

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-10-12 08:18:09 +00:00
parent f3c5571ef2
commit 4dfda563e4

View File

@@ -117,7 +117,8 @@ public interface MetadataExtracter extends ContentWorker
// If the property is media related, always extract
String propertyNS = propertyQName.getNamespaceURI();
if(propertyNS.equals(NamespaceService.EXIF_MODEL_1_0_URI))
if(propertyNS.equals(NamespaceService.EXIF_MODEL_1_0_URI) ||
propertyNS.equals(NamespaceService.AUDIO_MODEL_1_0_URI))
{
targetProperties.put(propertyQName, extractedValue);
modifiedProperties.put(propertyQName, extractedValue);