Jump to content

[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
  • 1 year later...
Posted (edited)

Hello,

 

I've got a "path problem" error in Bazarr (linux version)

 

I've using the regular trash guide folder structure

https://trash-guides.info/Hardlinks/How-to-setup-for/Unraid/

 

mnt/user/data

/torrent

  /tv

  /movies

/media

 / tv

  /movies

 

Works fine with hardlinking with sonarr and radarr

 

But now, i've got "path error" with bazar.

 

attacehd, my bazarr path configuration in docker, and my sonarr path configuration

Capture d'écran 2024-05-12 103115.png

sonarr.png

Edited by Maitresinh
Link to comment
9 hours ago, Maitresinh said:

attacehd, my bazarr path configuration in docker, and my sonarr path configuration

your sonarr has /data mapped to /mnt/user/data/, but bazarr has /media mapped to /mnt/user/data

both sides of the mapping must match, not just the host side.

you may have to delete the current mappings and remake them, as well as point bazarr to /data instead of /media inside the application. I'm not familiar with bazarr so I can't tell you specifically what to do.

Link to comment

thanks.

 

I changed the path and lost my docker installation. Reinstalled.

And now :

 

---------------------------------------------------------------------
[custom-init] No custom files found, skipping...
Bazarr starting...
Bazarr exited.
2024-05-15 05:45:38,970 - root                             (15169e179b08) :  ERROR (check_update:31) - Error trying to get releases from Github. Http error.
2024-05-15 05:45:39,907 - flask_migrate                    (15169e179b08) :  ERROR (__init__:113) - Error: Can't locate revision identified by '452dd0f0b578'
Bazarr starting...
Bazarr exited.
2024-05-15 05:45:46,337 - root                             (1526e9f04b08) :  ERROR (check_update:31) - Error trying to get releases from Github. Http error.
2024-05-15 05:45:47,230 - flask_migrate                    (1526e9f04b08) :  ERROR (__init__:113) - Error: Can't locate revision identified by '452dd0f0b578'
Connection to localhost (127.0.0.1) 6767 port [tcp/*] succeeded!
[ls.io-init] done.
Bazarr starting...
Bazarr exited.

-------------------------------------------------

Link to comment

ok so the error says "duplicate mount". 

In other other words, i can't use the same path (data) as in Sonarr/Radarr as you suggest

 

In Sonarr the path lead to "data" because it needs to get access both to /torrent and /media

But the media are in the subpath  / media

 

Plus, i docker configuration of Bazarr, you have to complete 2 different path (one of sonarr, one for radarr)

 

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.

×
×
  • Create New...