Skip to content

feat! Model thumbnails and stats UI improvements#16

Merged
vineethvijay merged 4 commits into
mainfrom
fix-stats
Mar 15, 2026
Merged

feat! Model thumbnails and stats UI improvements#16
vineethvijay merged 4 commits into
mainfrom
fix-stats

Conversation

@vineethvijay

Copy link
Copy Markdown
Owner

Model thumbnails and stats UI improvements

  • Stats page: Prefer YouTube thumbnails from video_id in play_counts; fallback to stored thumbnail or OG image
  • Stats page: Larger model avatars (40×40), hover shows 64×64 preview
  • OG meta fetch: Chrome User-Agent, 24h cache TTL, fixed html variable shadowing
  • play_counts: Store thumbnail_url per model (TubeArchivist or YouTube URL from video_id)
  • Models modal: Show thumbnails from source_videos (thumbnail_url or video_id from path)
  • Models modal: Hover on model links shows larger preview
  • Models modal: Pass data-sources to model button for thumbnail lookup
  • Audio: LRU-style queue for fair rotation (.audio_queue.txt)
  • Release workflow: Run on push to main instead of PR close

- 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.
- Added audio queue management to ensure fair rotation of audio tracks during streaming.
- Introduced methods for loading and saving the audio queue to persist state across sessions.
- Enhanced metadata fetching to include a timestamp for cache validation, improving performance.
- Updated 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 merged commit 2214053 into main Mar 15, 2026
2 checks passed
@vineethvijay vineethvijay deleted the fix-stats branch March 15, 2026 11:10
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