Commit 4f827dd
committed
[duplicated subtitle] Move
- Add core deduplicated logic/method
- Reproduce bug with the YouTube video: https://www.youtube.com/watch?v=b7vmW_5HSpE
(Observed around 2026-03-03: the subtitle language that previously had duplication issue no longer appears in the captions list)
- Introduce `SubtitleDeduplicator.java` to check and remove duplicates, storing results in cache.
- Add `SubtitleOrigin` and `SubtitleState` enums to model subtitle type and state.
- Ensure cache directory is recreated if missing.SubtitleDeduplicator from NewPipeExtractor to app side. [Bug] Fix duplicated subtitle issue.1 parent 50e8189 commit 4f827dd
3 files changed
Lines changed: 657 additions & 0 deletions
File tree
- app/src/main/java/org/schabi/newpipe/util/subtitle
0 commit comments