Repository navigation
fix(youtube): preserve subtitle cue text and omit metadata - #864
Open
rudycelekli wants to merge 1 commit into
Open
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
YouTube subtitle extraction drops numeric speech (for example a cue containing
2026) and mixes arbitrary cue IDs, multiline notes and style bodies into the transcript. The line filter cannot distinguish metadata from actual speech.Track cue payload after its timing line and skip metadata blocks, following WebVTT's cue structure. Numeric speech and lines beginning with NOTE/STYLE remain content when they occur inside a cue. Timing recognition accepts space/tab separators and hour fields longer than two digits; existing tag/entity handling and consecutive rolling-caption deduplication remain.
Validation against main
14c213405669414492bda0f8d52cc6531d062c45:agent-reach check youtube --text --timeout 20passed with fresh temporary Reach state and yt-dlp user configuration/plugin directories disabled. No login, personal browser or hosted transcription provider used:Screened all 565 pre-existing PRs and refreshed the subtitle-parser duplicate search before publication. No channel installation requirements, login behavior, dependencies or README channel-table capabilities change. AI-assisted implementation; actual production parser, before/after evidence and final diff reviewed.