mateoradman / bazarr-bulk

Bazarr Bulk Actions CLI - Bulk sync your subtitles with ease
https://crates.io/crates/bazarr-bulk
MIT License
30 stars 1 forks source link

Mod Sync not loaded #5

Closed huuub closed 4 months ago

huuub commented 4 months ago

I am running it on linux using bazarr 1.4.2. I ran on all movies, it connects and goes over the list but in the logs of bazarr for every movie i get "Mod Sync not loaded"

mateoradman commented 4 months ago

Hi @huuub,

I suspect there is something that needs to be enabled on your Bazarr instance which allows Syncing and other subtitle operations. Can you please navigate to http://YOUR_BAZARR_INSTANCE/settings/subtitles and compare your settings with mine? Screencast.webm

douglasparker commented 4 months ago

Hey @mateoradman,

I am getting the same error in the logs.

Attached are the requested screenshots.

IMG_5080 IMG_5081 IMG_5082 IMG_5083

mateoradman commented 4 months ago

Thanks for providing screenshots, @douglasparker. Is this Bazarr instance running as a docker container on linux?

mateoradman commented 4 months ago

Just fyi this is how a bazarr docker service looks like in my media server's docker-compose.yml file:

bazarr:
    image: hotio/bazarr
    container_name: bazarr
    environment:
      - PUID=$PUID
      - PGID=$PGID
      - TZ=$TZ
      - UMASK=022
    volumes:
      - ./bazarr:/config
      - $MEDIADIR:/data
      - $SECOND_MEDIADIR:/data2
    ports:
      - 6767:6767
    restart: unless-stopped
    networks:
      - services
douglasparker commented 4 months ago

Thanks for providing screenshots, @douglasparker. Is this Bazarr instance running as a docker container on linux?

Yes, bazarr is running in a docker container as the same user as the files in the media directory.

Attached is what the debug log looks like:

IMG_5084

It’s the same output for every time it runs a sync.

mateoradman commented 4 months ago

Can you please check the vendor of your docker image? Is it hotio, linuxserver or some other? I suspect that some vendors do not have subsync installed, and hence, your Bazarr instance lacks the sync feature.

douglasparker commented 4 months ago

Can you please check the vendor of your docker image? Is it hotio, linuxserver or some other? I suspect that some vendors do not have subsync installed, and hence, your Bazarr instance lacks the sync feature.

I am using LSIO. Doesn’t bazarr have ffsubsync built in? I thought you were syncing via API calls.

mateoradman commented 4 months ago

Syncing and other bulk subtitle operations done through bazarr-bulk CLI are indeed simply API calls to Bazarr. Therefore, Mod Sync not loaded error message has nothing to do with this repository.

I just wanna figure out how does one end up in a state where mod sync is not loaded so I can help anyone who stumbles upon this issue. That's why I am asking all these questions because this is the first time I've seen this error message :slightly_smiling_face:

douglasparker commented 4 months ago

Syncing and other bulk subtitle operations done through bazarr-bulk CLI are indeed simply API calls to Bazarr. Therefore, Mod Sync not loaded error message has nothing to do with this repository.

I just wanna figure out how does one end up in a state where mod sync is not loaded so I can help anyone who stumbles upon this issue. That's why I am asking all these questions because this is the first time I've seen this error message 🙂

Ah, I see! Yeah, that is flooded in the logs while bazarr bulk is running, but no errors from the CLI. As soon as it’s done running it doesn’t appear in the logs anymore.

mateoradman commented 4 months ago

Sincere apologies! I found a bug in my code which indeed leads to Mod X not loaded and I am working on a fix ASAP.

douglasparker commented 4 months ago

Sincere apologies! I found a bug in my code which indeed leads to Mod X not loaded and I am working on a fix ASAP.

Awesome! Super excited for this fix!

was this preventing subtitles from syncing?

mateoradman commented 4 months ago

Sincere apologies! I found a bug in my code which indeed leads to Mod X not loaded and I am working on a fix ASAP.

Awesome! Super excited for this fix!

was this preventing subtitles from syncing?

Yes it was.

mateoradman commented 4 months ago

Hi @huuub, @douglasparker. I've released v0.1.3 which should fix mod sync not loaded bug. Please reopen this issue if you encounter the same problem again. Thanks for your effort in debugging. Have a good one!

douglasparker commented 4 months ago

Hi @huuub, @douglasparker. I've released v0.1.3 which should fix mod sync not loaded bug. Please reopen this issue if you encounter the same problem again. Thanks for your effort in debugging. Have a good one!

Thank you so much!

douglasparker commented 4 months ago

@mateoradman Im getting a segmentation fault when running sync from the new binary on Linux.

mateoradman commented 4 months ago

There was something wrong with the cross-compilation Github action upon releasing a new version. I've manually compiled the binary uploaded it. Please re-download the binary https://github.com/mateoradman/bazarr-bulk/releases/download/v0.1.3/bazarr-bulk_v0.1.3_x86_64-unknown-linux-musl.tar.gz and try again. Thanks!

douglasparker commented 4 months ago

There was something wrong with the cross-compilation Github action upon releasing a new version. I've manually compiled the binary uploaded it. Please re-download the binary https://github.com/mateoradman/bazarr-bulk/releases/download/v0.1.3/bazarr-bulk_v0.1.3_x86_64-unknown-linux-musl.tar.gz and try again. Thanks!

That works thank you!