Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sailing:lazylibrarian [2023/12/05 09:46] – willy | sailing:lazylibrarian [2024/02/27 12:48] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Prev to: [[sailing: | ||
- | Next to: [[sailing: | ||
- | ---- | ||
- | |||
- | create user useradd -d / | ||
- | git clone git clone https:// | ||
- | |||
- | http:// | ||
- | |||
- | set library folders for books and audiobooks | ||
- | set permissions to 664 775 | ||
- | |||
- | in config add downloaders too. Deluge: set ip/port and ONLY password. Create lazylbrarian tag in deluge web gui | ||
- | |||
- | |||
- | |||
- | ====== 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 Readarr to benefit from Prowlarr automatic indexers management you need to open **http:// | ||
- | * Readarr-books 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): | ||
- | * Readarr-audiobooks server: http:// | ||
- | * API Key: grab it from Readarr-audiobooks // | ||
- | |||
- | Then go to the Prowlarr indexers page and click on the // | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | Before you can actually use Readarr you need to perform some initial setup in // | ||
- | * Add a new Root Folder. Use **/ | ||
- | |||
- | Now, in each Readarr, enable " | ||
- | * Thick "Set permissions" | ||
- | * Set "chmod folder" | ||
- | * set "chmod Group" to " | ||
- | * save and restart the daemon (from the user icon on top-right corner) | ||
- | |||
- | you can fine tune and configure many other aspects of Readarr as you wish. A very common guide is [[https:// | ||
- | |||
- | Please note that you will not yet be able to use Readarr fully as you have not yet installed any downloader. | ||
- | |||
- | |||
- | Now, head on to install the other services... | ||
- | |||
- | |||
- | ---- | ||
- | Next to: [[sailing: | ||
- | |||
- | Prev to: [[sailing: |