From de2346079fdde4ed0d826075b6929258b1e38748 Mon Sep 17 00:00:00 2001 From: crazy-daddy <67276479+crazy-daddy@users.noreply.github.com> Date: Wed, 18 Sep 2024 18:55:48 +0300 Subject: [PATCH] Added settings for Bazarr to limit API calls (#241) * 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 --- docs/apps/bazarr.md | 4 ++++ docs/faq/Bazarr.md | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 docs/faq/Bazarr.md diff --git a/docs/apps/bazarr.md b/docs/apps/bazarr.md index 5906bdcfc..54cdf8355 100644 --- a/docs/apps/bazarr.md +++ b/docs/apps/bazarr.md @@ -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). diff --git a/docs/faq/Bazarr.md b/docs/faq/Bazarr.md new file mode 100644 index 000000000..73cbe2054 --- /dev/null +++ b/docs/faq/Bazarr.md @@ -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.