[
https://issues.apache.org/jira/browse/TIKA-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388478#comment-14388478
]
ASF GitHub Bot commented on TIKA-1589:
--------------------------------------
GitHub user mdaniline opened a pull request:
https://github.com/apache/tika/pull/38
fix for TIKA-1589 contributed by mdaniline
https://issues.apache.org/jira/browse/TIKA-1589
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdaniline/tika TIKA-1589
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/38.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #38
----
commit fb29412710ea058f89d3c6df5078587768dcac74
Author: Max Daniline <[email protected]>
Date: 2015-03-31T12:49:43Z
fix for TIKA-1589 contributed by mdaniline
----
> 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)