0.2.64 update
This commit is contained in:
@@ -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{})
|
||||
|
||||
Reference in New Issue
Block a user