Login for certain variables to be updated with your own slot's information

Lidarr

Lidarr is stil under development and does not even have a stable release yet. This is effectively beta software and you will likely encounter bugs..

Lidarr is a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

Installation

Connect to your slot through SSH.

Lidarr

  1. Download Lidarr

    wget https://github.com/lidarr/Lidarr/releases/download/v0.6.2.883/Lidarr.develop.0.6.2.883.linux.tar.gz
    
  2. Extract the archive

    tar xzvf Lidarr*.tar.gz
    
  3. Make a Lidarr configuration directory

    mkdir ~/.config/Lidarr
    
  4. Make a Lidarr configuration file

    touch ~/.config/Lidarr/config.xml
    
  5. Open the configuration file in nano

    nano ~/.config/Lidarr/config.xml
    
  6. Copy the contents of the box below into the ~/.config/Lidarr/config.xml file, replacing any other configuration in the file

    <Config>
    <Port>64356</Port>
    <UrlBase></UrlBase>
    <BindAddress>*</BindAddress>
    <SslPort>32178</SslPort>
    <EnableSsl>False</EnableSsl>
    <ApiKey></ApiKey>
    <AuthenticationMethod>None</AuthenticationMethod>
    <LogLevel>Info</LogLevel>
    <Branch>master</Branch>
    <LaunchBrowser>False</LaunchBrowser>
    <UpdateAutomatically>False</UpdateAutomatically>
    </Config>
    
  7. Save changes by pressing Ctrl+x, y and then enter

  8. Start Lidarr in a screen session running in the background

    screen -dmS lidarr  mono --debug ~/Lidarr/Lidarr.exe -c libcurl
    
  9. Enable authentication in the settings under Settings > General > Security

  10. Clean up your slot (optional)

    rm Lidarr*.tar.gz

Jackett (optional)

Jackett works as a proxy between applications like Lidarr/Sonarr/Radarr and BitTorrent trackers.

See the Jackett installation guide here.

Usage

Your Lidarr web interface will be accessible at http://server.whatbox.ca:64356

You can attach to your Lidarr screen session to monitor its output using screen -r lidarr , and detach from it again by pressing ctrl+a, d and then enter

Connecting to rTorrent

Under Settings > Download Client, select to add a client with the + button and then select rTorrent. Enter the following information to connect to rTorrent:

    Host: localhost
    Port: 443
    URL Path: xmlrpc
    Use SSL: Yes
    Username: user
    Password: Your server password

Connecting to Transmission

You will need the Transmission daemon port from your Slot Info page.

Under Settings > Download Client, select to add a client with the + button and then select Transmission. Enter the following information to connect to Transmission:

    Host: localhost
    Port: Daemon port as listed on your Slot Info page
    Username: user
    Password: Your server password

Connection to Deluge

You will need the Deluge WebUI address from your Slot Info page.

Make sure the Deluge WebUI has been enabled from the Settings link on your Manage page.

Under Settings > Download Client, select to add a client with the + button and then select Deluge. Enter the following information to connect to Deluge:

    Host: localhost
    Port: 5 digit port from the end of your Deluge WebUI link, as listed on your Slot Info page.
    Password: Your server password
    Category: Leave blank if the Label plugin has not yet been enabled in the Deluge WebUI

Automatically Restart

mono-based applications are inherently unstable and prone to crashing. Below are steps to take to have your Lidarr instance automatically restart if it crashes, or if the server is rebooted.

  1. Make a file to be used for the script. touch ~/lidarr_restart.cron

  2. Edit the file and enter the text below. nano -w ~/lidarr_restart.cron

    #!/bin/bash
    if pgrep -fx "mono --debug /home/user/Lidarr/Lidarr.exe -c libcurl" > /dev/null
    then
        echo "Lidarr is running."
    else 
        echo "Lidarr is not running, starting Lidarr"
        screen -dmS lidarr mono --debug /home/user/Lidarr/Lidarr.exe -c libcurl
    fi
    exit
    
  3. Save the file with Ctrl+x, y and Enter to accept overwriting.

  4. Make the script executable. chmod +x ~/lidarr_restart.cron

  5. Open your crontab. EDITOR=nano crontab -e

  6. Enter the following text at the end of the file.

    @reboot /home/user/lidarr_restart.cron >/dev/null 2>&1
    */5 * * * * /home/user/lidarr_restart.cron >/dev/null 2>&1
    
  7. Save the crontab with Ctrl+x, y and Enter to accept overwriting.