From 2850c561432028e3e2e1558b07a7fff222b5e28b Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 2 May 2026 17:07:35 +0200 Subject: [PATCH] fix: clean up debug logs and test forcing --- api/playback/handler.go | 2 -- integrations/jikan/episodes.go | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/api/playback/handler.go b/api/playback/handler.go index 16c6005..412746c 100644 --- a/api/playback/handler.go +++ b/api/playback/handler.go @@ -64,9 +64,7 @@ func (h *Handler) HandleWatchPage(w http.ResponseWriter, r *http.Request) { } for i := range episodes.Data { - log.Printf("Ep %s image: %s", episodes.Data[i].Episode, episodes.Data[i].Images.Jpg.ImageURL) episodes.Data[i].Images.Jpg.ImageURL = episodes.Data[i].GetFallbackImage(id) - log.Printf("Ep %s fallback image: %s", episodes.Data[i].Episode, episodes.Data[i].Images.Jpg.ImageURL) } sort.Slice(episodes.Data, func(i, j int) bool { diff --git a/integrations/jikan/episodes.go b/integrations/jikan/episodes.go index 94674af..a512428 100644 --- a/integrations/jikan/episodes.go +++ b/integrations/jikan/episodes.go @@ -38,8 +38,7 @@ func (e *Episode) GetFallbackImage(animeID int) string { } // Always trigger scraping if we encounter the banned icon OR the generic placeholder - // OR if it's the specific Code Geass episode we are testing - if imageUrl != bannedImageURL && imageUrl != placeholderImageURL && imageUrl != "" && !(animeID == 2904 && episodeNum == 6) { + if imageUrl != bannedImageURL && imageUrl != placeholderImageURL && imageUrl != "" { return imageUrl }