Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3318

MP3 parser using wrong xmpDM:duration units (which aren't clearly documented)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.25
    • Fix Version/s: 2.0.0, 1.26
    • Component/s: mime, parser
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              nick Nick Burch
              Reporter:
              nick Nick Burch

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment