From 59f36bbe27d8f0d2cd06eb549e2e001c2f828568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 7 Oct 2019 15:34:55 -0400 Subject: [PATCH] Fix for enzyme language detection broken. --- bazarr/embedded_subs_reader.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bazarr/embedded_subs_reader.py b/bazarr/embedded_subs_reader.py index 3c4d14ceb..9ae730391 100644 --- a/bazarr/embedded_subs_reader.py +++ b/bazarr/embedded_subs_reader.py @@ -24,8 +24,6 @@ class EmbeddedSubsReader: parser = VideoFileParser(ffprobe=self.ffprobe, includeMissing=True, rawMode=False) data = parser.parseFfprobe(file) - detected_languages = [] - for detected_language in data['subtitles']: subtitles_list.append([detected_language['language'], detected_language['forced'], detected_language["codec"]]) else: