You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2015/03/31 14:41:53 UTC
[jira] [Commented] (TIKA-1589) Mp3 parser does not add duration to
metadata if there are no ID3 tags
[ https://issues.apache.org/jira/browse/TIKA-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388467#comment-14388467 ]
Nick Burch commented on TIKA-1589:
----------------------------------
Any chance you could create a small mp3 file (probably silent, ideally something like 10-50kb in size) which shows the problem, for which we know the duration? We can then use that for a unit test, to ensure that when we fix it it all stays fixed!
> 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)