mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix subtitles not loading (#2987)
This commit is contained in:
parent
bb250d1232
commit
351dcb708b
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ func (rs sceneRoutes) Caption(w http.ResponseWriter, r *http.Request, lang strin
|
||||||
|
|
||||||
for _, caption := range captions {
|
for _, caption := range captions {
|
||||||
if lang != caption.LanguageCode || ext != caption.CaptionType {
|
if lang != caption.LanguageCode || ext != caption.CaptionType {
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
sub, err := video.ReadSubs(caption.Path(s.Path))
|
sub, err := video.ReadSubs(caption.Path(s.Path))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue