Skip to content

Commit

Permalink
Added settings for Bazarr to limit API calls (#241)
Browse files Browse the repository at this point in the history
* Added settings for Bazarr to limit API calls

Based on preliminary tests on my box.

* Fixed lints

* Removed settings in favor of link to FAQ

* Create Bazarr.md - documented some settings to limit API calls
  • Loading branch information
crazy-daddy authored Sep 18, 2024
1 parent b080758 commit de23460
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/apps/bazarr.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ sb install bazarr
- [:octicons-link-16: Documentation](https://wiki.bazarr.media/){: .header-icons }

- [:octicons-link-16: TraSH Guides](https://trash-guides.info/Bazarr/)

There are some settings that - depending on your specific setup - should be adapted to reduce API calls down to a managable level.

Please refer to the official documentation for an explanation of the settings. Some - potentially out of date(!) - settings are documented in the [FAQs](../faq/Bazarr.md).
16 changes: 16 additions & 0 deletions docs/faq/Bazarr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Bazarr

## Settings to limit API calls

All settings are documented in the [official docs](https://wiki.bazarr.media) - though most of the time the impact on Saltbox setups needs to be inferred.
Especially useful: [:octicons-link-16: Performance Tuning](https://wiki.bazarr.media/Additional-Configuration/Performance-Tuning/)

### Some settings of note - AS OF 22ND OCTOBER 2023 - MIGHT BE OUTDATED IF YOU READ THIS LATER

- `Settings` => `Subtitles` => `Performance / Optimization` Disable `Use Embedded Subtitles` Embedded subtitles are subtitles that are in the video container (mkv, mp4, etc) Bazarr needs to look inside the video container to know which subtitles are in it, causing issues with API Limits

- `Settings` => `Languages` => `Embedded Tracks Language` Disable `Deep analyze media file to get audio tracks language.`

- `Settings` => `Subtitles` => `Performance / Optimization` Enable `Skip video file hash calculation` - (Possibly depending on the cloud backend) it seems to trigger a full read by multiple API calls instead of just getting the hash

- `Settings` => `Subtitles` => `Post-Processing` Disable `Automatic Subtitles Synchronization` - This one hurts quite a bit to disable, but if you are downloading multiple subtitles (like you just downloaded multiple series and they got pushed to the cloud by cloudplow before Bazarr pulled subs; or subs got released for a whole series en block, etc.) it will trigger Bazarr to download and analyze a whole bunch of files possibly triggering tens of thousands of API-calls.

0 comments on commit de23460

Please sign in to comment.