[Support] Linuxserver.io - Bazarr


Recommended Posts

  • 1 month later...
  • 1 month later...

I'm having a difficult time getting Bazarr to recognize all of my Movie shares.  I've added some paths in the docker configuration since I have multiple shares where my movies live in.  I've attempted to use Path Mapping to map the path of a share in Radarr with the one created for Sonarr, but it seems that the subtitles are not being pulled because I'm getting errors such as this:

Traceback (most recent call last):

  File "/app/bazarr/bin/bazarr/get_subtitle.py", line 70, in get_video

    video = parse_video(path, hints=hints, providers=providers, dry_run=used_scene_name,

  File "/app/bazarr/bin/bazarr/../libs/subzero/video.py", line 61, in parse_video

    return scan_video(fn, hints=hints, dont_use_actual_file=dry_run, providers=providers,

  File "/app/bazarr/bin/bazarr/../libs/subliminal_patch/core.py", line 501, in scan_video

    raise ValueError(\'Path does not exist\')

ValueError: Path does not exist

 

Is using individual Path Mappings the way to ensure all my movie shares are going to be found in Bazarr, or is there another way to do this?

Link to comment
  • 11 months later...
  • 1 month later...

Can someone help me to fix the path mapping of bazaar?

 

I get this error:

/data/media/tv
This Sonarr root directory does not seems to be accessible by Please check path mapping.
/data/media/movies
This Radarr root directory does not seems to be accessible by Please check path mapping.

 

In the docker settings the path to /movies is set to: /mnt/user/data/media/movies

And the path to /tv is seto to: /mnt/user/data/media/tv

 

In radarr and sonarr docker settings the paths to the  /data are like this: /mnt/user/data/

On both containers
I have manually created the data path.

 

Then in radarr web ui I have set the root folder to /data/media/movies
And in sonarr web ui to /data/media/tv

 

I haven't set any path mapping in bazarr - just enabled sonarr and radarr with their APIs, set 2 languages and enabled 4 subtitle providers. The movies and tvs are successfully imported and I can set a language profile but when I manually search for subtitles I get this log:

 

BAZARR Error (Path does not exist) trying to get video information for this file: /data/media/tv/...
 

And the stack traceback is this:

 

 
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/subtitles/utils.py", line 39, in get_video
    video = parse_video(path, hints=hints, providers=providers, dry_run=used_scene_name,
  File "/app/bazarr/bin/bazarr/../libs/subzero/video.py", line 61, in parse_video
    return scan_video(fn, hints=hints, dont_use_actual_file=dry_run, providers=providers,
  File "/app/bazarr/bin/bazarr/../libs/subliminal_patch/core.py", line 747, in scan_video
    raise ValueError(\'Path does not exist\')
ValueError: Path does not exist

 

  • Upvote 1
Link to comment
  • 1 month later...

Hi, 

Since a while I have an error in bazaar Error 500You have disconnected from the server.

I did some research and tried some solutions without success (clear my browser cache, test via a browser in a VM). In the movies tab (Radarr) no problem. Also in the settings the connection with Sonarr works when I do the test it gives me the version of Sonarr. 

Anyone have an idea/solution?

Thank's

bazarr1.thumb.png.4600814833812a08b92bfdb2426c26ba.png

Link to comment
  • 2 weeks later...

  

Hello,

After an update performed today the Bazarr docker is not starting.

Everything was working just perfectly before the update.

The log shows:

 

Quote

Bazarr starting...
Bazarr exited.
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/main.py", line 22, in <module>
    from init import *  # noqa E402
  File "/app/bazarr/bin/bazarr/init.py", line 236, in <module>
    migrate_db()
  File "/app/bazarr/bin/bazarr/app/database.py", line 484, in migrate_db
    item.timestamp = datetime.fromtimestamp(int(item.timestamp))
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'datetime.datetime'
 

 

What can I do to make my Bazarr working again?

Thanks in advance

Edited by Alexandro
Link to comment

I revoked Bazaarr after a long time and it seems to make some trouble now.

My Logs getting flooded with this:
 

+-------------------------------------------------------+
|      Please report any bug or feature request at      |
|       https://github.com/ratoaq2/knowit/issues.       |
+-------------------------------------------------------+|
07/03/2023 11:34:17|ERROR   |root                            |BAZARR ffprobe cannot analyze this video file /tv/Snowfall/Season 01/Snowfall (2017) - S01E09 - Story of a Scar WEBDL-720p.mp4. Could it be corrupted? +-------------------------------------------------------+
|                     KnowIt 0.4.0                      |
+-------------------------------------------------------+
|                      pymediainfo                      |
|                                                       |
|                   libmediainfo.so.0                   |
|                         v22.9                         |
|                                                       |
|                   /usr/bin/ffprobe                    |
|                        v5.1.2                         |
|                                                       |
|                                                       |
|                        enzyme                         |
|                         0.4.1                         |
+-------------------------------------------------------+
|                   provider: ffmpeg                    |
|               ffmpeg: /usr/bin/ffprobe                |
|                   profile: default                    |
+-------------------------------------------------------+
Traceback (most recent call last):
  File "/app/bazarr/bin/bazarr/../libs/knowit/api.py", line 59, in know
    result = provider.describe(video_path, context)
  File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 218, in describe
    data = self.executor.extract_info(video_path)
  File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 79, in extract_info
    json_dump = self._execute(filename)
  File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 113, in _execute
    return check_output([self.location, '-v', 'quiet', '-print_format', 'json',
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', '-sexagesimal', '/tv/Snowfall/Season 01/Snowfall (2017) - S01E09 - Story of a Scar WEBDL-720p.mp4']' returned non-zero exit status 1.

It keeps spinning up my HDDs and using the CPU, too because of this.

What is this and how do I get rid of it? I checked files it says may be corrupted, but they all seem to be okay. Permissions, too.

So I have no clue. Anyone else?

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.