Skip to content

feat(player): add video chapters, auto-skip, and interactive skip prompt - #261

Closed
itsmechinmoy wants to merge 5 commits into
brahmkshatriya:mainfrom
itsmechinmoy:chapters
Closed

itsmechinmoy wants to merge 5 commits into
brahmkshatriya:mainfrom
itsmechinmoy:chapters

Conversation

@itsmechinmoy

Copy link
Copy Markdown
Contributor

Summary

Implements TrackChapterClient integration in the playback pipeline and player UI.

Changes

  • PlayerState & PlayerService: Observe current track and asynchronously load chapters from extensions implementing TrackChapterClient.
  • PlayerViewModel: Expose chapters StateFlow and skipChapter helper.
  • PlayerFragment:
    • Displays active chapter title alongside timestamp (Opening • 01:23) during playback and seeking.
    • Interactive skip (SkipType.ASK): Shows ⏭ Skip <Chapter> on trackSubtitle and seeks on tap.
    • Auto-skip (SkipType.SKIP): Automatically seeks past chapter boundaries.
    • Seamlessly reverts to server details (1080p ⦿ Japanese) outside chapter intervals.

Copilot AI lite review requested due to automatic review settings August 22, 2026 15:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@brahmkshatriya

Copy link
Copy Markdown
Owner

🫩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants