Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add normalization of xmpDM:duration to MetaDataExtractor::normalizeMetaData() #58

Open
LeoniePhiline opened this issue Apr 2, 2017 · 4 comments

Comments

@LeoniePhiline
Copy link

LeoniePhiline commented Apr 2, 2017

For extracting mp3 metadata, I had to add to \ApacheSolrForTypo3\Tika\Service\Extractor\MetaDataExtractor::normalizeMetaData() a mapping of xmpDM:duration to (int)($value / 1000).

Maybe this could be configurable?
--> EXT:extractor has a nicely configurable metadata mapping (normalization) handling. There no code change would be necessary - but EXT:extractor does not support SolrCell, only Tika App local or Tika server, while EXT:tika does this very nicely.

@LeoniePhiline
Copy link
Author

bump More than a year later :)

Please simply add xmpDM:duration mapping to (int)($value / 1000) in \ApacheSolrForTypo3\Tika\Service\Extractor\MetaDataExtractor::normalizeMetaData().

Thanks!

@dkd-dobberkau
Copy link

Can you add a proper PR? Thanks,

@dkd-kaehm
Copy link
Contributor

dkd-kaehm commented May 18, 2020

@LeoniePhiline please provide a Pull Request incl. example mp3 file(or modify Tests/TestDocuments/testMP3.mp3).
Or close this issue.
Thanks.

@LeoniePhiline
Copy link
Author

I'm soon working on this project again. Please keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants