no log: include refiner in embeddedsubtitles.py

pull/1888/head
vitiko98 3 years ago
parent 8086bce5c4
commit 171747751a

@ -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)

Loading…
Cancel
Save