[ 
https://issues.apache.org/jira/browse/TIKA-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388496#comment-14388496
 ] 

Max Daniline commented on TIKA-1589:
------------------------------------

I've raised a PR to fix this: https://github.com/apache/tika/pull/38

> Mp3 parser does not add duration to metadata if there are no ID3 tags
> ---------------------------------------------------------------------
>
>                 Key: TIKA-1589
>                 URL: https://issues.apache.org/jira/browse/TIKA-1589
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Max Daniline
>
> Steps to reproduce:
> * Have a file without any ID3 tags (v1 or v2)
> * Parse the file
> * Attempt to retrieve the duration by calling 'metadata.get(XMPDM.DURATION)'.
> Expected result:
> The duration should be set even for a file without ID3 tags, since it is 
> independent information.
> Actual result:
> The duration is null



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to