[
https://issues.apache.org/jira/browse/TIKA-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154626#comment-18154626
]
ASF GitHub Bot commented on TIKA-5083:
--------------------------------------
Gagravarr commented on PR #3711:
URL: https://github.com/apache/tika/pull/3711#issuecomment-7379897933
My idea was more to keep as much of the code as we can, ready to put it back
later, eg
```
diff --git
a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/src/main/java/org/apache/tika/parser/ogg/FlacParser.java
b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/src/main/java/org/apache/tika/parser/ogg/FlacParser.java
index 0e59b4a5a7..b2dcb035e1 100644
-
> 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
> Fix For: 4.3.0
>
>
> {{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)