Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sailing:lazylibrarian [2023/12/05 15:06] – [Usage] willy | sailing:lazylibrarian [2024/02/27 12:48] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Prev to: [[sailing: | ||
- | Next to: [[sailing: | ||
- | ---- | ||
- | ====== LazyLibrarian: | ||
- | |||
- | [[https:// | ||
- | * It works (currently Readarr has issues with metadata providers) | ||
- | * It can manage books and audiobook from 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 | ||
- | |||
- | I have installed it to match the same collection as Readarr, and i am currently using it over Readarr since the latter is not working, but i plan to switch back to Readarr as soon as it will be again fully operative. | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | LazyLibrarian must be installed manually since there is no Gentoo ebuild for it, but it's pretty easy with **pip**. | ||
- | |||
- | 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 it to your **/ | ||
- | < | ||
- | include " | ||
- | </ | ||
- | |||
- | and restart nginx: | ||
- | <code bash> | ||
- | > / | ||
- | </ | ||
- | |||
- | ===== 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 ===== | ||
- | |||
- | Please note that you will not yet be able to use LazyLibrarian fully as you have not yet installed any downloader. | ||
- | |||
- | But after you add the downloaders, | ||
- | |||
- | |||
- | Now, head on to install the other services... | ||
- | |||
- | ---- | ||
- | Next to: [[sailing: | ||
- | |||
- | Prev to: [[sailing: |