diff --git a/episode.go b/episode.go index 07b8616..12d21b9 100644 --- a/episode.go +++ b/episode.go @@ -130,8 +130,8 @@ func (e *Episode) GetFormat(resolution string, subtitle LOCALE, hardsub bool) (* foundStream = stream break } else if !hardsub { - for _, subtitle := range stream.Subtitles { - if subtitle.Locale == subtitle.Locale { + for _, streamSubtitle := range stream.Subtitles { + if streamSubtitle.Locale == subtitle { foundStream = stream break }