User Tools

This is an old revision of the document!


Prev to: Readarr: the books and audiobooks organizer

Next to: Bazarr: subtitles


create user useradd -d /data/daemons/lazylibrarian -g media -m lazylibrarian, su - lazylibrarian, create pip config file, clone: git clone git clone https://gitlab.com/LazyLibrarian/LazyLibrarian.git python LazyLibrarian.py -d

http://192.168.1.1:5299/authors

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: another books and audiobooks organizer

LazyLibrarian is a tool to follow authors and grab metadata for all your digital reading needs. It acocmplish the same goals as Readarr, but has a few advantages:

  • 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't feel very intuitive
  • Diverge from the *Arr's looks&feel
  • 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 /data/daemons/lazylibrarian and set media as it's main group:

 > useradd -d /data/daemons/lazylibrarian -g media -m lazylibrarian

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 lazylibrarian user by creating the file /data/daemons/lazylibrarian/.config/pip/pip.conf with this content:

pip.conf
    [global]
    break-system-packages = true
    user = true

Now adapt the lazylibrarian umnask so that any files moved by it will be accessible by the other tools (where needed). Add the following line at the end of /data/daemons/lazylibrarian/.bashrc:

umask 0002
</codeZ>
 
You can now become the //lazylibrarian// user and proceed with the installation using **git**:
<code bash>
 > su - lazylibrarian
 > git clone git clone https://gitlab.com/LazyLibrarian/LazyLibrarian.git

python LazyLibrarian.py -d

Reverse-Proxy configuration

Before you proceed, you should make LazyLibrarian accessible via the reverse-proxy, so that access, configuration and usage will be simplified from the beginning. Add this file to /etc/nginx/folders:

lazylibrarian.conf
location ^~ /lazylibrarian {
        proxy_pass http://127.0.0.1:5299;
        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 them to your /etc/nginx/folders/main.conf:

include "folders/readarr-books.conf";
include "folders/readarr-audiobooks.conf";

and restart nginx:

 > /etc/init.d/nginx restart

Startup

There are some configuration that must be perform before actually starting the two services. You need to briefly start and stop it to let it create the main configuration file, this is required because you need to generate a new API key:

 > /etc/init.d/readarr start
 > /etc/init.d/readarr stop
 > /etc/init.d/readarr-audiobooks start
 > /etc/init.d/readarr-audiobooks stop

Now edit the newly created xml config files:

  • /data/daemons/readarr/.config/Readarr: for the books instance
  • /data/daemons/readarr/.config/Readarr-Audiobooks: for the audiobooks instance

Only change the following lines in the Sonarr books file, do not edit anything else (unless you know what you are doing):

  <UrlBase>readarr-books</UrlBase>
    <BindAddress>127.0.0.1</BindAddress>
  <AuthenticationMethod>Forms</AuthenticationMethod>
  <AuthenticationRequired>DisabledForLocalAddresses</AuthenticationRequired>

Only change the following lines in the Sonarr audiobooks file, do not edit anything else (unless you know what you are doing):

  <UrlBase>readarr-audiobooks</UrlBase>
    <BindAddress>127.0.0.1</BindAddress>
  <AuthenticationMethod>Forms</AuthenticationMethod>
  <AuthenticationRequired>DisabledForLocalAddresses</AuthenticationRequired>
    <Port>8788</Port>

Please note in the audiobooks instance you ALSO need to edit the Port field to avoid collision with the books instance.

Add both Readars to default runlevel, for autostart on reboot, and start it manually now:

 > rc-update add readarr default
 > /etc/init.d/readarr start
 > rc-update add readarr-audiobooks default
 > /etc/init.d/readarr-audiobooks start

Readarr will now be accessible as http://192.168.0.1/readarr-books and http://192.168.0.1/readarr-audiobooks.

All set! Both Readarr instances are running.

In order for Readarr to benefit from Prowlarr automatic indexers management you need to open http://192.168.0.1/prowlarr in your browser, go to settingsapps and add Readarr (give a name like Readarr-books). From the popup window set:

Now add a second Readarr (you will need to specify a different name, like Readarr-audiobooks):

Then go to the Prowlarr indexers page and click on the synchronize all indexers icon.

Usage

Before you can actually use Readarr you need to perform some initial setup in settingsmedia management:

  • Add a new Root Folder. Use /data/Books as root folder for books instance and /data/Audiobooks for the audiobooks instance.

Now, in each Readarr, enable “advanced settings” and:

  • Thick “Set permissions” to on
  • Set “chmod folder” to 775 (umask will be 0002)
  • set “chmod Group” to “media”
  • 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 The TRaSH Guides.

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: Bazarr: subtitles

Prev to: Readarr: the books and audiobooks organizer

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information