Errors with .sub - add option to ignore or make Bazarr able to read them

3 votes

Bazarr doesn't handle .sub subtitles currently. Every time it comes across one when it updates from disk an error comes out like this:


BAZARR Error trying to detect language for this subtitles file: example.sub You should try to delete this subtitles file manually and ask Bazarr to download it again.

Traceback (most recent call last):
 File "/app/bazarr/bazarr/list_subtitles.py", line 411, in guess_external_subtitles
  text = text.decode(encoding.original_encoding)
 File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
  return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: \utf8\ codec can\t decode byte 0xba in position 3: invalid start byte


.sub contains many different VOBSUBS like containers. I would like to see bazarr either being able to read them properly or ignore them, or add an option to ignore .sub files.

Removing them like the error suggests is not an option since they come with the release and are not available through the normal Bazarr way.

Under consideration Suggested by: gG Upvoted: 06 May, '20 Comments: 0

Comments: 0