Skip to content

DownloadManger for *Arr clients (Sonarr, Radarr) utilizing Premiumize Usnet Blackhole

License

Notifications You must be signed in to change notification settings

ensingerphilipp/Premiumizearr-Nova

Repository files navigation

Premiumizearr-Nova

Build

Build

Important

If you still have problems with downloads that cant complete and loop indefinitely i encourage you to wait for next release that switcehs from zip to direct downloads. Meanwhile you can reduce the issue by selecting Cloudflare as your CDN in Premiumize. (only for new transfers from this point on)

Overview

Continuation and Improvement of the Premiumizearr Arr* Bridge Download Client compatible with Sonarr and Radarr.

This project is based on code from Jackdallas' Premiumizearr. It aims to improve its function and fix bugs as the Original Repo has gone stale and does not respond to issues and pull requests. The code has been reused with modifications to suit my own use case.

  • Mostly fixes EOF Datastream Error
  • Drastically improved download speed
  • Downloads try to resume as long as Docker container is not restarted
  • Added .torrent support
  • Updated base images and dependencies

Next Steps:

  • Fix GUI Bugs
  • Add Lidarr Support

Features

  • Monitor blackhole directory to push .magnet, .torrent and .nzb to Premiumize.me
  • Monitor and download Premiumize.me transfers (web ui on default port 8182)
  • Mark transfers as failed in Radarr & Sonarr

Support the project by using my invite code or Ko-Fi

Ko-Fi

Install

Docker

It is highly recommended to use the amd64 and arm64 docker images.

  1. First create data, blackhole, downloads and unzip folders that will be mounted into the docker container.
  2. Make sure all Folders and are writeable and readable by UID 1000 and GID 1000
  3. Create or choose a network for the docker container to run in - Important, if you have connection problems try explicitly disabling ipv6 for your docker network or docker daemon as ipv6 might break some things - see #12
  4. Adapt the command below with the correct folders and network to run
  5. Do not use sudo!

Docker images are listed here

docker run -d --name premiumizearr \
  --network=compose_default \
  -v /mount/premiumize/data:/data \
  -v /mount/premiumize/blackhole:/blackhole \
  -v /mount/premiumize/downloads:/downloads \
  -v /mount/premiumize/unzip:/unzip \
  -e PGID=1000 \
  -e PUID=1000 \
  -p 8182:8182 \
  --restart unless-stopped \
  ghcr.io/ensingerphilipp/premiumizearr-nova

If you wish to increase logging (which you'll be asked to do if you submit an issue) you can add -e PREMIUMIZEARR_LOG_LEVEL=trace to the command

Note: The /data mount is where the config.yaml and log files are kept You might need to run the docker command with UID GID 1000 on the host as well If you absolutely can not use docker, scroll to the bottom of the README for unsupported Installation-Methods, they are automatically built and untested.

First Setup

Premiumizearrd

Running for the first time the server will start on http://0.0.0.0:8182

If you already use this binding for something else you can edit them in the config.yaml

WARNING: This app exposes api keys in the ui and does not have authentication, it is strongly recommended you put it behind a reverse proxy with auth and set the host to 127.0.0.1 to hide the app from the web.

Sonarr/Radarr

  • Go to your Arr's Download Client settings page
  • Add a new Torrent Blackhole client, set the Torrent Folder to the previously set BlackholeDirectory location, set the Watch Folder to the previously set DownloadsDirectory location
  • Add a new Usenet Blackhole client, set the Nzb Folder to the previously set BlackholeDirectory location, set the Watch Folder to the previously set DownloadsDirectory location
  • Also: Dont forget to press the "Save" Button when editing settings inside premiumizearr-nova web-ui

Reverse Proxy

Premiumizearr does not have authentication built in so it's strongly recommended you use a reverse proxy

Nginx

location /premiumizearr/ {
    proxy_pass http://127.0.0.1:8182/;
    proxy_set_header Host $proxy_host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_redirect off;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
}

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Original Code

This project reuses code from Jackdallas' Premiumizearr, which is licensed under the GNU General Public License v3.0.

Modifications

The following changes have been made to the original code:

  • See Commit History

All modifications to the original code are also licensed under the same license, i.e., GNU GPL v3.

Unsupported Installation Methods

Those methods should work but are discouraged and receive no support, you should use docker!

Grab the latest release artifact links here

Binary

System Install

wget /~https://github.com/ensingerphilipp/premiumizearr-nova/releases/download/x.x.x/Premiumizearr_x.x.x_linux_amd64.tar.gz
tar xf Premiumizearr_x.x.x.x_linux_amd64.tar.gz
cd Premiumizearr_x.x.x.x_linux_amd64
sudo mkdir /opt/premiumizearrd/
sudo cp -r premiumizearrd static/ /opt/premiumizearrd/
sudo cp premiumizearrd.service /etc/systemd/system/
sudo systemctl-reload
sudo systemctl enable premiumizearrd.service
sudo systemctl start premiumizearrd.service

User Install

wget /~https://github.com/ensingerphilipp/premiumizearr-nova/releases/download/x.x.x/Premiumizearr_x.x.x_linux_amd64.tar.gz
tar xf Premiumizearr_x.x.x.x_linux_amd64.tar.gz
cd Premiumizearr_x.x.x.x_linux_amd64
mkdir -p ~/.local/bin/
cp -r premiumizearrd static/ ~/.local/bin/
echo -e "export PATH=~/.local/bin/:$PATH" >> ~/.bashrc 
source ~/.bashrc

You're now able to run the daemon from anywhere just by typing premiumizearrd

deb file

wget /~https://github.com/ensingerphilipp/premiumizearr-nova/releases/download/x.x.x/premiumizearr_x.x.x._linux_amd64.deb
sudo dpkg -i premiumizearr_x.x.x.x_linux_amd64.deb

Windows Installation

  1. Download the Windows Release here
  2. Follow the Setup Instructions and try to match them to Windows Commandline where possible

About

DownloadManger for *Arr clients (Sonarr, Radarr) utilizing Premiumize Usnet Blackhole

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •