0.2.64 update

This commit is contained in:
ponzischeme89
2026-08-15 09:23:26 +12:00
parent a2ca7e8061
commit d5d47473a2
90 changed files with 9188 additions and 451 deletions
+10 -2
View File
@@ -161,8 +161,16 @@ func (s *Server) handleIntro(w http.ResponseWriter, r *http.Request, sess store.
// optional conveniences on a film that is already playing, and a failure the viewer
// cannot act on is not worth a red line in the log for every episode watched.
s.loggerFor(ctx).Debug("chapter markers unavailable", "item_id", itemID, "error", err)
writeJSON(w, http.StatusOK, introResponse{})
return
markers = chapterMarkers{}
}
// A discovered marker fills in where Emby has none, which on 4.10 is nearly everywhere:
// a survey of this household's library found no CreditsStart markers at all. Emby still
// wins where it has an answer — it is the media server's own reading of its own file, and
// this subsystem exists to cover the case where there is nothing to defer to.
if credits && !markers.creditsFound {
if start, found := s.discoveredCredits(ctx, itemID); found {
markers.creditsStart, markers.creditsFound = start, true
}
}
if !markers.introFound && !markers.creditsFound {
writeJSON(w, http.StatusOK, introResponse{})