Add OTT Lounge UI, artwork enrichment, public unlock gating, and server refactor - #6
Open
SasukeXDev wants to merge 2 commits into
Open
SasukeXDev wants to merge 2 commits into
SasukeXDev wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Motivation
Description
bot/server/template/*pages,bot/server/static/ott.cssandbot/server/static/ott.js, and registers a static route inbot/server/__init__.pyto serve assets.bot/server/render_template.pywith helper functions_render_baseand_render_template_fileand updated page flows forenter,home,playlist,index, video download and admin pages._is_public_unlockedand_public_gate_or_noneinbot/server/stream_routes.py, and separates admin login routes (/admin/login,/admin/logout) with centralized permission helpers_is_adminand_admin_forbidden.bot/server/stream_routes.pyto use the public gate, unified permission checks, and to render the new templates.bot/helper/chats.pyandbot/helper/index.pyto emit new OTT markup, implements rail/hero layouts and related items viarelated_items_html, and replaces older string templates with cleanertemplate.format(...)structures.fetch_artworktobot/helper/tmdb.pythat returns bothposterandbackdrop, updatesget_messages,get_files, andsearchto attachposter_url,backdrop_url, andsize_bytesto posts, and usesfetch_artworkacross helpers.ott.jsremembers selected channels and binds UI interactions; templates wire modal flows and admin actions to the new JS/CSS.get_cache,save_cache), image thumbnail API integration, and updated file/video page logic to include related items and external player options.Testing
Codex Task