Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| services:lazylibrarian [2024/04/02 14:01] – willy | services:lazylibrarian [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== LazyLibrarian: | ||
| - | |||
| - | **NOTE:** i don't use LazyLibrarian anymore, this page might get outdated over time. | ||
| - | |||
| - | [[https:// | ||
| - | * It works much better with metadata providers | ||
| - | * It can manage books and audiobook for the same book in the same instance | ||
| - | |||
| - | In my view, it also has some drawbacks: | ||
| - | * Clumsy UI, doesn' | ||
| - | * Diverge from the *Arr's looks& | ||
| - | * It's more complex to setup properly | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | LazyLibrarian must be installed manually since there is no Gentoo ebuild for it, but it's pretty easy with **pip**. More info on pip on Gentoo [[gentoo: | ||
| - | |||
| - | As usual, you need to create a specific user and set it's home folder to **/ | ||
| - | <code bash> | ||
| - | useradd -d / | ||
| - | </ | ||
| - | |||
| - | Using pip directly is discouraged on Gentoo because it can severely break your system. To use pip on Gentoo you need to explicitly enable it for the // | ||
| - | <file txt pip.conf> | ||
| - | [global] | ||
| - | break-system-packages = true | ||
| - | user = true | ||
| - | </ | ||
| - | |||
| - | Now adapt the // | ||
| - | <code bash> | ||
| - | umask 0002 | ||
| - | </ | ||
| - | |||
| - | You can now become the // | ||
| - | <code bash> | ||
| - | su - lazylibrarian | ||
| - | git clone git clone https:// | ||
| - | </ | ||
| - | |||
| - | As last step, you need a startup script called **/ | ||
| - | <file txt lazylibrarian.sh> | ||
| - | #!/bin/bash | ||
| - | |||
| - | cd / | ||
| - | python LazyLibrarian.py -d | ||
| - | </ | ||
| - | |||
| - | You also want a script to automatically start it at boot, so create the file **/ | ||
| - | <file txt lazylibrarian.start> | ||
| - | #!/bin/bash | ||
| - | |||
| - | start-stop-daemon -b -m -p / | ||
| - | </ | ||
| - | |||
| - | and make them both executable: | ||
| - | <code bash> | ||
| - | chmod +x / | ||
| - | chmod +x / | ||
| - | </ | ||
| - | |||
| - | That's it, LazyLibrarian is installed, but you will need to configure it before starting. | ||
| - | |||
| - | ===== Reverse-Proxy configuration ===== | ||
| - | |||
| - | Before you proceed, you should make LazyLibrarian accessible via the reverse-proxy, | ||
| - | <file txt lazylibrarian.conf> | ||
| - | location / | ||
| - | proxy_pass http:// | ||
| - | proxy_set_header Host $host; | ||
| - | proxy_set_header X-Real-IP $remote_addr; | ||
| - | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | Add this config to the reverse proxy and restart it. | ||
| - | |||
| - | ===== Startup ===== | ||
| - | |||
| - | There are some configuration that must be perform before actually starting the service. | ||
| - | |||
| - | Edit the file **/ | ||
| - | < | ||
| - | [GENERAL] | ||
| - | ... | ||
| - | file_perm = 0o664 | ||
| - | dir_perm = 0o775 | ||
| - | ebook_dir = /data/Books | ||
| - | audio_dir = / | ||
| - | download_dir = / | ||
| - | ... | ||
| - | [WEBSERVER] | ||
| - | http_proxy = True | ||
| - | http_root = / | ||
| - | </ | ||
| - | |||
| - | A quick summary of the edits: | ||
| - | * file_perm / dir_perm: changed to ensure all downloaded& | ||
| - | * ebook_dir / audio_dir: match your media collection folders | ||
| - | * download_dir: | ||
| - | * http_proxy: tell LazyLibrarian you will use a reverse proxy | ||
| - | * http_root: the Base URL of the reverse proxy | ||
| - | |||
| - | Now, start LazyLibrarian: | ||
| - | <code bash> | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | All set! LazyLibrarial is running. | ||
| - | |||
| - | |||
| - | ===== Prowlarr link ===== | ||
| - | |||
| - | In order for LazyLibrarian to benefit from Prowlarr automatic indexers management you need to open **http:// | ||
| - | * server: http:// | ||
| - | * API Key: grab it from Readarr-books // | ||
| - | |||
| - | Now add a second Readarr (you will need to specify a different name, like Readarr-audiobooks): | ||
| - | * LazyLibrarian server: http:// | ||
| - | * API Key: generate it from //config// -> // | ||
| - | |||
| - | Then go to the Prowlarr indexers page and click on the // | ||
| - | |||
| - | ===== Usage ===== | ||
| - | |||
| - | Configuring LazyLibrarian is quite complex and messy, compared to the *Arr's at least. I will give you some pointers here. | ||
| - | * No pointers at the moment | ||
| - | |||
| - | ===== Downloaders ===== | ||
| - | |||
| - | After you add the downloaders, | ||