Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:bazarr [2024/04/05 08:34] – willy | services:bazarr [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bazarr: subtitles downloader & finder ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | There are a couple of Bazarr docker images but they don't play well with users and permissions, | ||
- | |||
- | As usual, you need to create a specific user and set it's home folder to **/ | ||
- | <code bash> | ||
- | useradd -d / | ||
- | su - bazarr | ||
- | mkdir bazarr | ||
- | cd bazarr | ||
- | wget https:// | ||
- | unzip bazarr.zip | ||
- | </ | ||
- | |||
- | Since the zip is a bit messy (all files on root zip folder) i prefer to put it into a subfolder. | ||
- | |||
- | Now you need to enable PIP user support (see [[gentoo: | ||
- | |||
- | Now install the requirements: | ||
- | <code bash> | ||
- | su - bazarr | ||
- | cd bazarr | ||
- | pip install -r requirements.txt | ||
- | </ | ||
- | |||
- | That's it, Bazarr is installed, but you will need to configure it before starting. | ||
- | |||
- | Edit the default **/ | ||
- | < | ||
- | ... | ||
- | base_url: /bazarr | ||
- | chmod: ' | ||
- | ip: 127.0.0.1 | ||
- | ... | ||
- | </ | ||
- | |||
- | If the file is missing, start bazar once then stop it. | ||
- | |||
- | You need to set the base_url to match the reverse proxy setting and you want to ensure new files by Bazarr are created as readable and writable by the media group (so, 0664) for them to be accessible in your media collection. You also want to bind to IP 127.0.0.1 for security reasons. | ||
- | |||
- | |||
- | ===== Reverse-Proxy configuration ===== | ||
- | |||
- | Before you proceed, you should make Bazarr accessible via the reverse-proxy, | ||
- | <file txt bazarr.conf> | ||
- | location /bazarr/ { | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | # Allow the Bazarr API through if you enable Auth on the block above | ||
- | | ||
- | | ||
- | | ||
- | } | ||
- | } | ||
- | </ | ||
- | |||
- | As usual the [[selfhost: | ||
- | |||
- | ===== Automatic Startup ===== | ||
- | |||
- | If you follow my [[gentoo: | ||
- | <code bash> | ||
- | cd / | ||
- | ln -s _servicer.sh 20-bazarr--service.start | ||
- | ln -s _servicer.sh 20-bazarr--service.stop | ||
- | </ | ||
- | |||
- | and the associated file **/ | ||
- | <file - service_bazarr_start> | ||
- | COMMAND=/ | ||
- | ARGUMENTS=bazarr/ | ||
- | </ | ||
- | |||
- | and you are all set. | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | Now you can head to the Bazarr URL (https:// | ||
- | |||
- | Then it's time to setup some providers: you can do so from the Providers configuration page. You will need at least one. | ||
- | |||
- | Go ahead and continue configuring anything else you might want to setup. | ||
- | |||
- | All set! Bazarr is running. | ||
- | |||