This commit is contained in:
ponzischeme89
2026-08-20 07:54:03 +12:00
parent 769fe01c84
commit 434371e9cf
37 changed files with 1767 additions and 102 deletions
+8
View File
@@ -161,6 +161,14 @@ func (s *Server) handleServiceStatus(w http.ResponseWriter, r *http.Request, ses
// season has to reach a set that is already switched on, without anybody doing
// anything.
"theme": themeStatus(s.themeFor(r.Context(), sess)),
// The hero, as one opaque revision rather than the cards themselves — the theme
// precedent, for the same reason. A television refetches its heroes only when this
// moves, which is what turns an operator pinning a title into a change that arrives
// on the poll the set is already making rather than at the next cold start. It also
// keys the cached answers, so a revision that has moved always names a fresh build.
"hero": heroStatus(heroRevision(
s.currentHeroPolicy(r.Context()), sess.EmbyUserID, time.Now(), s.heroLocation(),
)),
// Whether this viewer may ask the household for titles. Per person rather than per
// household, so it cannot ride the feature map beside it: the allowlist is the
// operator's decision about one account, and every television is polling this