From 351dcb708bedd3a403d2ca6d36664a9f6af104d9 Mon Sep 17 00:00:00 2001 From: CJ <72030708+Teda1@users.noreply.github.com> Date: Sun, 9 Oct 2022 18:09:28 -0500 Subject: [PATCH] Fix subtitles not loading (#2987) --- internal/api/routes_scene.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/routes_scene.go b/internal/api/routes_scene.go index da3a09555..9688a7974 100644 --- a/internal/api/routes_scene.go +++ b/internal/api/routes_scene.go @@ -367,7 +367,7 @@ func (rs sceneRoutes) Caption(w http.ResponseWriter, r *http.Request, lang strin for _, caption := range captions { if lang != caption.LanguageCode || ext != caption.CaptionType { - return + continue } sub, err := video.ReadSubs(caption.Path(s.Path))