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:
parent
8086bce5c4
commit
171747751a
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue