LazyLibrarian is a program available for OSX and Linux that is used to automatically search eBooks, audiobooks, and magazines, which are then sent to a torrent or newsbin client. It uses a combination of Goodreads Librarything and optionally GoogleBooks as sources for author info and book info. It’s nice to be able to have all of our book in digital form since books are extremely heavy and take up a lot of space, which we are already lacking in the bus.

Some of LazyLibrarian’s features include:

  • Import an existing Calibre library.
  • Find authors and add them to the database.
  • List all books of an author and mark them as ‘wanted’.

Setting up LazyLibrarian is really simple once you have Docker installed. If you’re on a Synology device, this can be done by going to Package Center > Settings > Package Sources > and adding “http://packages.synocommunity.com/”. Once that resource has been added, search the package center for Docker. Once Docker has been installed, navigate to the registry tab, and search for LazyLibrarian. There are many builds of this program but we use the Thraxis version so that we could setup a virtual library. Select it and click Download.

Once the program is downloaded, go to the Image tab and select it again and click Launch.

Launching the container will bring up the settings within Docker which, helps make setting up the program much easier than the command line way of doing things typically done within Linux systems. Name the Container something recognizable and then go into the Advanced Settings.

It’s a good idea to Enable auto-restart so that if the server crashes, upon restarting the container will restart. Creating a desktop shortcut to the web page for the container is also a good idea. The port for LazyLibrarian is 5299 which will be seen in the Port Settings tab.

The Volume tab is where the directories are set which can be accessed from within the container while it’s running. If a path is not mapped, it will not show up within the containers accessible directories. A directory needs to be created for LazyLibrarian’s configuration files. To do this, create a directory (folder) named LazyLibrarian and mount the path as /config. This will tell Docker to “install” all of LazyLibrarian’s configuration files to this directory. SABnzbd’s /completed directory will be created automatically created when SAB is installed and ran for the first time. The /books directory needs to be manually created.

Port Settings is used to change the default port of the container. Leave the default port setting under Container Port and change Local Port from “auto” to 5229. If Local Port is left to auto, the machine will randomize the port each time and cause issues.

Environment is where variable are set that are needed to allow the container to run. For the container to run properly and be able to access the directories created above, it must be given user permissions. To do this, use Putty or an equivalent program to SSH into your NAS to obtain the Personal User ID (PUID) and Personal Group ID (PGID) of the NAS.

Enter the IP address of your NAS in Putty, select the SSH radio button, and click Open.

Enter the login information for your NAS user account. You will not be able to see the password as you type it. Once logged in type ‘id’ without the quotes and this will show your UID (aka PUID) and the GID (aka PGID).

Put the IDs from the SSH session into the Environment tab as shown below. It’s also good practice to input the local timezone, as many containers need this to run. The timezone codes can be found here.

Now that the setup is complete, click ‘ok’ and the container will launch. Read about how to configure LazyLibrarian here.

LEAVE A REPLY

Please enter your comment!
Please enter your name here