Commit 631100b
committed
[duplicated subtitle][Bug] Fix duplicated subtitle issue
- Add core deduplicated logic/method
- Reproduce bug with the YouTube video: https://www.youtube.com/watch?v=b7vmW_5HSpE
- 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.1 parent 34f9879 commit 631100b
3 files changed
Lines changed: 657 additions & 0 deletions
File tree
- extractor/src/main/java/org/schabi/newpipe/extractor/utils
0 commit comments