pannal/Sub-Zero.bundle

Unable to look for new subtitles (TrueNas 12, FreeBSD)

Opened this issue · 0 comments

When I refresh the metadata for a movie/tv show episode, subzero throws the following exception:

2021-06-08 15:37:05,818 (80363b700) :  WARNING (scanning:142) - File could not be guessed: /media/movies/Homefront (2013)/Homefront (2013) [Bluray-1080p].mp4: Traceback (most recent call last):
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/support/scanning.py", line 135, in prepare_video
    match_strictness=config.ext_match_strictness)
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subzero/video.py", line 32, in set_existing_languages
    match_strictness=match_strictness).values()))
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 678, in search_external_subtitles
    only_one=only_one, match_strictness=match_strictness))
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 592, in _search_external_subtitles
    if not entry.is_file(follow_symlinks=False):
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/scandir.py", line 500, in is_file
    st = self.stat(follow_symlinks=follow_symlinks)
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/scandir.py", line 480, in stat
    self._lstat = lstat(self.path)
  File "/usr/local/plexdata/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/scandir.py", line 465, in path
    self._path = join(self._scandir_path, self.name)
  File "/usr/local/share/plexmediaserver/Resources/Python/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'utf8' codec can't decode byte 0x93 in position 1: invalid start byte

This does not happen when I use Force-find subtitles in Kitana.

I'm using the latest version of subzero