Bazarr
Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).
Table of contents
Installation
Install Bazarr by logging in via SSH, then copying and pasting the following script:
wget -O ~/install.bazarr.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/bazarr.install.sh && bash ~/install.bazarr.sh
This script will output a success message alongside your login details: a URL, username and password. The password is not stored anywhere so you will need to save it—your browser's password manager is good location. Bazarr will take about five minutes to start up for the first time.
Starting, stopping and restarting
This section covers the Bazarr process—starting it, stopping it and restarting it. It also covers checking if the process is running, in case that becomes necessary.
- start
- You cannot start Bazarr manually. Wait five minutes for it to auto-restart.
- check running
- pgrep -laf docs-bazarr
- stop
- pkill -fe docs-bazarr
- kill (force stop)
- pkill -9 -fe docs-bazarr
- restart
- pkill -fe docs-bazarr Then wait five minutes for it to auto-restart.
Companion configuration
Bazarr works alongside Sonarr and Radarr. Initially no companions are configured and you'll be shown the "General settings". Below are instructions to add each companion.
Radarr
Visit the "Settings" tab in the left menu and select "Radarr" then configure the following:
- Enabled
- Click to set to "active" – this will reveal many more settings.
- Address
- server.feralhosting.com – replace server with the name of your server (e.g., zeus).
- Base URL
- /username/radarr/ – replace username with your username (same as your SFTP login).
- Port
- 443
- API Key
- Visit your Radarr instance, select "Settings" from the left menu, go to "General" and then find the "API Key" field about two-thirds down the page under security. Copy the key from Radarr to Bazarr. This key represents full access to your Radarr instance so be sure not to accidentally share it elsewehere.
- SSL
- Enabled.
Once configured press "Test" and you'll see the text transform to "Version: x.y.z" if successful.
Finally, at the very top of the page, above the "User Radarr" is a "Save" button. Click this to save your configuration options.
Sonarr
Visit the "Settings" tab in the left menu and select "Sonarr" then configure the following:
- Enabled
- Click to set to "active" – this will reveal many more settings.
- Address
- server.feralhosting.com – replace server with the name of your server (e.g., zeus).
- Base URL
- /username/sonarr/ – replace username with your username (same as your SFTP login).
- Port
- 443
- API Key
- Visit your Sonarr instance, select "Settings" from the left menu, go to "General" and then find the "API Key" field about two-thirds down the page under security. Copy the key from Sonarr to Bazarr. This key represents full access to your Sonarr instance so be sure not to accidentally share it elsewehere.
- SSL
- Enabled.
Once configured press "Test" and you'll see the text transform to "Version: x.y.z" if successful.
Finally, at the very top of the page, above the "User Sonarr" is a "Save" button. Click this to save your configuration options.
Uninstall
The following SSH commands will uninstall Bazarr from your slot. You do not need to run them if reinstalling.
rm -rf ~/.config/feral/ns/containers/docs-bazarr ~/install.bazarr.sh ~/.nginx/conf.d/000-default-server.d/bazarr.conf /usr/sbin/nginx -s reload -c ~/.nginx/nginx.conf 2>/dev/null pkill -9 -fe docs-bazarr echo Uninstalled.