feat!: Play chunk in stream, source modal enhancements, stats thumbnails#15
Merged
Conversation
- 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.
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.
Play chunk in stream, source modal enhancements, stats thumbnails
POST /api/play_chunkto queue a specific chunk next; add "▶ in stream" button per chunk; left play icon opens chunk in browserwww.links made clickablesource_videosnow[{path, model, thumbnail_url, title, channel}]; backward compatible with old formatvideo_idis available; storevideo_idwith model play counts; larger thumbnails