[
https://issues.apache.org/jira/browse/TIKA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301286#comment-17301286
]
Hudson commented on TIKA-3318:
------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #168 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/168/])
TIKA-3318 MP3 parser should output the xmpDM:duration metadata as seconds not
milliseconds (nick:
[https://github.com/apache/tika/commit/31da853a5779806b1b83f4709e90ac2e3ac2688e])
* (edit)
tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-audiovideo-module/src/main/java/org/apache/tika/parser/mp3/Mp3Parser.java
* (edit)
tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-audiovideo-module/src/test/java/org/apache/tika/parser/mp3/Mp3ParserTest.java
TIKA-3318 Document the units of xmpDM:duration as seconds by default (nick:
[https://github.com/apache/tika/commit/356cf44e6c426ad4411bb2c8a945597dbac4543c])
* (edit) tika-core/src/main/java/org/apache/tika/metadata/XMPDM.java
> MP3 parser using wrong xmpDM:duration units (which aren't clearly documented)
> -----------------------------------------------------------------------------
>
> Key: TIKA-3318
> URL: https://issues.apache.org/jira/browse/TIKA-3318
> Project: Tika
> Issue Type: Bug
> Components: mime, parser
> Affects Versions: 2.0, 1.25
> Reporter: Nick Burch
> Assignee: Nick Burch
> Priority: Minor
> Fix For: 2.0, 1.26
>
>
> As spotted on StackOverflow <https://stackoverflow.com/q/64888488/685641> and
> later discussed on the mailing list
> <https://lists.apache.org/thread.html/r3b9fd864a9ab897bf0f2a53c2d6fd5f770b9688f8425ab0877e20b6b%40%3Cdev.tika.apache.org%3E>,
> the units of `xmpDM:duration` should be seconds by default.
> Most of our parsers already assume that, but the MP3 one doesn't.
> So, need to fix it to also output seconds not milliseconds, as well as
> documenting the the duration will be in seconds unless there's also a scale
> set
--
This message was sent by Atlassian Jira
(v8.3.4#803005)