Whatbox Logo
Login for certain variables to be updated with your slot's information

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

  1. Make a file to be used for the script. touch ~/bazarr_restart.cron

  2. 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
    
  3. Save the file with Ctrl+x and the "y" and Enter to accept overwriting.

  4. Make the script executable. chmod +x ~/bazarr_restart.cron

  5. Open your crontab. EDITOR=nano crontab -e

  6. Enter the following text

     @reboot /home/user/bazarr_restart.cron >/dev/null 2>&1
     */5 * * * * /home/user/bazarr_restart.cron >/dev/null 2>&1
    
  7. Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.