Skip to content

Conversation

@srstinson
Copy link
Contributor

For #5941

  1. Add tv/{channelKey}/feed endpoint for a json feed for the given channel.
    a. Moved TvBroadcast from lila.round to lila.tv
    b. Created a TvBroadcast for each channel
    c. Have TvBroadcast listen to TvSelect events rather than featuredGame and create feed based on this
  2. Add tv/{channelKey}/frame endpoint for an embeddable board for the given channel.
  3. Set embedded board to use new feed endpoint if channel is specified.
  4. Set tv/frame and tv/feed to use default functions that specify the "best" channel to keep current functionality.

Example of new channel feed endpoint and feed frame in action for chess960:
image

@srstinson srstinson changed the title Allow all Lichess TV Channels to be embeeded as iFrames Allow all Lichess TV Channels to be embedded as iFrames Feb 22, 2024
… nonexistent channel specified; add /api/tv/:chanKey/feed endpoint similar to /api/tv/feed
@fitztrev
Copy link
Member

Thanks for the PR! Tested 👍

* master: (26 commits)
  allow the mobile app up to 3 concurrent data streams
  refactor controllers with LilaController.meOrFetch
  look at ip reputation for some anon requests
  New Crowdin updates (lichess-org#14727)
  dedup stockfish name in ui/
  fishnet updated to sf 16.1
  Update sbt to 1.9.9
  hide overflow for odd coach-widgets too
  scala fmt
  hide overflow
  Update JSON response format for PGN push
  fix mod log for blog rank tweaks
  fix broadcast player fide guess from name+title
  use new pgn tag utilities
  clear broadcast leaderboard cache on tournament update
  guess broadcast player fide id from name+title, upgrade scalachess
  fix study multiboard when only one player name is known
  fix chapter fideId bson handler
  scala tweaks
  tweak broadcast title font sizes
  ...
because Map.apply may throw an exception, and relying on the context
is not a future-proof guarantee.
@ornicar
Copy link
Collaborator

ornicar commented Feb 25, 2024

Very impressive work!

@ornicar ornicar merged commit 5fbda68 into lichess-org:master Feb 25, 2024
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