Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.binary.metadata.contribs

Services

Extension points

Contributions

XML source

<component name="org.nuxeo.binary.metadata.contribs">

  <require>org.nuxeo.ecm.platform.commandline.executor.service.defaultContrib
  </require>

  <extension target="org.nuxeo.binary.metadata" point="metadataProcessors">
    <processor id="exifTool" class="org.nuxeo.binary.metadata.internals.ExifToolProcessor" prefix="true" />
  </extension>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent" point="environment">
    <environment name="exiftool">
      <parameters>
        <!-- See http://search.cpan.org/dist/PAR/lib/PAR.pm#Notes -->
        <parameter name="PAR_GLOBAL_TMPDIR">${java.io.tmpdir}</parameter>
        <!-- set PAR_CLEAN cleaning PAR_GLOBAL_TEMP after execution -->
        <!-- <parameter name="PAR_CLEAN">0</parameter> -->
      </parameters>
    </environment>
  </extension>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent" point="command">

    <command name="exiftool-read-taglist" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m -G -json #{tagList} #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

    <command name="exiftool-read" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m -G -json #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

    <command name="exiftool-write" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m -G #{tagList} #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

    <!-- Since 7.3 -->
    <command name="exiftool-read-taglist-noprefix" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m -json #{tagList} #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

    <!-- Since 7.3 -->
    <command name="exiftool-read-noprefix" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m -json #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

    <!-- Since 7.3 -->
    <command name="exiftool-write-noprefix" enabled="true">
      <commandLine>exiftool</commandLine>
      <parameterString>-m #{tagList} #{inFilePath}</parameterString>
      <installationDirective>You need to install exiftool</installationDirective>
    </command>

  </extension>
</component>

Documentation