Wiki > 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.
Installation
Bazarr is available as an app on your Manage page. Select Manage Apps next to the slot you want to use Bazarr on. On this page, select Add Bazarr
and provide your Whatbox password. After a short wait, you can click Open Bazarr
to open Bazarr. You can also access Bazarr from your Manage page.
Automatically restart
-
Make a file to be used for the script.
touch ~/bazarr_restart.cron
-
Edit the file and enter the text below.
nano -w ~/bazarr_restart.cron
#!/bin/bash if pgrep -f "/usr/share/bazarr/bazarr.py" > /dev/null then echo "bazarr is running." else echo "bazarr is not running, starting bazarr" screen -dmS bazarr /usr/share/bazarr/bazarr.py -c /home/user/.config/bazarr fi exit
-
Save the file with Ctrl+x and the "y" and Enter to accept overwriting.
-
Make the script executable.
chmod +x ~/bazarr_restart.cron
-
Open your crontab.
EDITOR=nano crontab -e
-
Enter the following text
@reboot /home/user/bazarr_restart.cron >/dev/null 2>&1 */5 * * * * /home/user/bazarr_restart.cron >/dev/null 2>&1
-
Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.