1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

no log: include refiner in embeddedsubtitles.py

This commit is contained in:
vitiko98 2022-06-28 23:29:44 -04:00
parent 8086bce5c4
commit 171747751a

View file

@ -81,7 +81,7 @@ class EmbeddedSubtitlesProvider(Provider):
timeout=600, timeout=600,
include_ass=None, include_ass=None,
include_srt=None, include_srt=None,
mergerfs_mode=None mergerfs_mode=None,
): ):
self._included_codecs = set(included_codecs or _ALLOWED_CODECS) self._included_codecs = set(included_codecs or _ALLOWED_CODECS)
@ -122,8 +122,7 @@ class EmbeddedSubtitlesProvider(Provider):
self._blacklist.add(path) self._blacklist.add(path)
streams = [] streams = []
streams = list(streams) streams = _discard_possible_incomplete_subtitles(list(streams))
# streams = _discard_possible_incomplete_subtitles(list(streams))
if not streams: if not streams:
logger.debug("No subtitles found for container: %s", video) logger.debug("No subtitles found for container: %s", video)