Skip to content

feat!: Play chunk in stream, source modal enhancements, stats thumbnails#15

Merged
vineethvijay merged 2 commits into
mainfrom
fix-stats
Mar 14, 2026
Merged

feat!: Play chunk in stream, source modal enhancements, stats thumbnails#15
vineethvijay merged 2 commits into
mainfrom
fix-stats

Conversation

@vineethvijay

@vineethvijay vineethvijay commented Mar 14, 2026

Copy link
Copy Markdown
Owner

Play chunk in stream, source modal enhancements, stats thumbnails

  • Play chunk in stream: Add POST /api/play_chunk to queue a specific chunk next; add "▶ in stream" button per chunk; left play icon opens chunk in browser
  • Source modal: Tubearchivist links per source; model/title/channel per source; YouTube thumbnails; larger modal and thumbnails; model link on its own line; www. links made clickable
  • Metadata: source_videos now [{path, model, thumbnail_url, title, channel}]; backward compatible with old format
  • Stats page: YouTube thumbnails for Models (top played) when video_id is available; store video_id with model play counts; larger thumbnails
  • Stats: Fix HTML entity decoding for OG meta titles
  • UI: Info tooltip aligned right; "in stream" button moved right of Sources/Models

- Introduced a new API endpoint `/api/play_chunk` to allow users to play a specific chunk in the live stream.
- Enhanced chunk metadata handling to support both old and new formats for source videos, normalizing the input structure.
- Updated the dashboard to include a button for playing chunks directly in the stream, improving user interaction.
- Improved HTML rendering by unescaping titles in Open Graph metadata for better display.
- Updated the metadata extraction process to include thumbnail URLs, titles, and channel information for videos.
- Introduced a new method to extract YouTube video IDs from paths, improving video identification.
- Enhanced the dashboard and stats templates to display additional video information, including thumbnails and titles.
- Improved the layout and styling of the dashboard for better user experience and accessibility.
@vineethvijay vineethvijay changed the title feat: Play chunk in stream, source modal improvements, stats fixes feat!: Play chunk in stream, source modal enhancements, stats thumbnails Mar 14, 2026
@vineethvijay vineethvijay merged commit a376565 into main Mar 14, 2026
2 checks passed
@vineethvijay vineethvijay deleted the fix-stats branch March 14, 2026 21:29
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.

1 participant