[
https://issues.apache.org/jira/browse/TIKA-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152803#comment-18152803
]
Nick Burch commented on TIKA-5083:
----------------------------------
Calculator call brought over, along with the basic FLAC parsing unit test. Few
of the other Tika-related unit tests may also want to come over, TBC, but if
they do it'd be in a different PR! There's also a TODO in the FLAC parser that
can also now be solved with the new vorbis-java-core release, for a different
PR.
Will merge this in a day or two, if no-one spots any issues
> FlacParser should use the new FlacAudioStatistics calculator if there is no
> duration set in the header
> ------------------------------------------------------------------------------------------------------
>
> Key: TIKA-5083
> URL: https://issues.apache.org/jira/browse/TIKA-5083
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Affects Versions: 4.3.0
> Reporter: Nick Burch
> Priority: Minor
>
> {{FlacParser}} was brought over from the VorbisJava project (along with its
> friends) last year as part of the 4.x release. One improvement that didn't
> come, as the wasn't a matching release of the {{vorbis-java-core}} library
> with it in, was the ability to calculate the duration of a Flac file if the
> header didn't include that.
> Now that there is the 0.10 release, and before theĀ {{vorbis-java-tika}}
> module is retired in favour of the code now in Tika, need to bring that
> enhancement over.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)