Skip to content

One self-hosted app for your shows, movies and music.

16.2 KB
Raw Blame

title: Downloaders description: Connect qBittorrent, Transmission, Deluge, rTorrent, aria2, SABnzbd or NZBGet so HolyArrs can send Releases and import the finished files. level: Setup sidebar: { order: 2 }

Connect your download app so HolyArrs can send it Releases and import what finishes.

HolyArrs does not download by itself. It hands each Release to a Downloader, follows it, and imports the files.

Kind Apps
Torrent qBittorrent, Transmission 4 or newer, Deluge, rTorrent (with or without ruTorrent), aria2
Usenet SABnzbd, NZBGet

Before you start

  • You are the owner or an admin.
  • Your download app is running and you can open its web page.

Add a Downloader

  1. Open Settings > Downloaders.

  2. Press Add a Downloader.

  3. Under Which app, pick your app.

  4. Type a Name.

  5. Type the Address, the app's web page, such as http://192.168.1.10:8090. For rTorrent, see rTorrent address. For aria2, see aria2 address.

  6. Fill in the sign-in. See Sign-in for each app.

  7. Press Save, then Test on the row.

    You should see Working next to the name.

:::caution If HolyArrs and the Downloader run in separate containers and see the download folder under different paths, imports fail. Fill in the path pair under Paths before the first download. :::

Sign-in for each app

App What to enter Where to find it
qBittorrent API key (qBittorrent 5.2 or newer) or Username and password Options > Web UI
Transmission Username and password, empty if it asks for none Transmission settings
Deluge Web UI password, no username Deluge Web UI
rTorrent Username and password of the web server in front of rTorrent, empty if it asks for none Your web server or seedbox settings
aria2 Secret token, the rpc-secret (or --rpc-secret), no username. Leave it empty only if aria2 runs without one aria2.conf
SABnzbd API key Config > General
NZBGet Username and password, empty if NZBGet lets HolyArrs in without them NZBGet settings

HolyArrs stores keys and passwords encrypted and never shows them again. Leave the field alone to keep the stored one. When you change the address to another host, type the key again. HolyArrs never sends a stored key to a new host.

rTorrent address

HolyArrs talks to rTorrent over XML-RPC. The Address is that link, not the ruTorrent page.

Setup Address
crazymax/rtorrent-rutorrent http://host:8000/RPC2. Port 8080 there is the ruTorrent page
Through ruTorrent http://host:8080/plugins/httprpc/action.php, or /rutorrent/plugins/httprpc/action.php when ruTorrent sits under /rutorrent. /plugins/rpc/rpc.php works too
Seedbox The link your seedbox gives, such as https://host/user/RPC2

An address with no path gets /RPC2. Tested with rTorrent 0.16.25 and ruTorrent 5.3.18.

HolyArrs fetches each .torrent file itself and sends it to rTorrent, so rTorrent never contacts the Source.

rTorrent on a seedbox

When rTorrent runs on another machine, HolyArrs cannot see its download folder. Set up a sync that copies the finished files to a folder HolyArrs can see. Then add a path pair under Paths: Downloader's path is the seedbox folder, such as /home/user/downloads, and HolyArrs' path is the local folder the sync fills.

aria2 address

HolyArrs talks to aria2 over JSON-RPC. The default Address is http://host:6800/jsonrpc.

  • An address with no path gets /jsonrpc.
  • An address ending in /rpc is switched to /jsonrpc.
  • Tested with aria2 1.36.0. aria2 1.34 or newer is needed.
  • HolyArrs uses JSON-RPC because some aria2 builds leave XML-RPC out.

HolyArrs fetches each .torrent file itself and sends it to aria2, so aria2 never contacts the Source. HolyArrs sends torrents and magnet links only; it never uses aria2 for direct downloads.

For a very large .torrent, raise --rpc-max-request-size (2M by default). Keep rpc-save-upload-metadata=true so a torrent HolyArrs sent survives an aria2 restart. aria2 then leaves a <hash>.torrent copy in its download folder, and HolyArrs does not delete it.

A private torrent gets only its own trackers: HolyArrs clears aria2's bt-tracker list for it.

Some aria2 images stop seeding as soon as a download finishes (seed-time=0). Private trackers may count that against you, so raise it there.

aria2 forgets finished downloads when it restarts. If that happens before HolyArrs imports one, its row shows the download as gone from the Downloader. Nothing is deleted.

When aria2 reports an error on a download, HolyArrs shows it as paused with aria2's message. aria2 tries it again after its next restart, so HolyArrs does not fail it or delete its files.

aria2 does not keep speed limits across a restart.

aria2 on a seedbox

When aria2 runs on another machine, add a path pair under Paths: Downloader's path is aria2's folder, and HolyArrs' path is the local folder your sync fills.

Choices

For qBittorrent these sit under More options.

Category

HolyArrs files its downloads under this category and only follows that category.

App How the category works
qBittorrent Made for you if missing
SABnzbd Must exist first, under Config > Categories
Transmission, Deluge Stored as a label
rTorrent Stored as the label in d.custom1, shown in ruTorrent's Label column
aria2 A folder, not a label: aria2's download folder plus the category. Two apps that use the same folder name share those downloads
NZBGet Sent as the download category

Priority and tags

Priority runs 1 to 50. The lowest number is used first, and equal numbers take turns. With Tags, only titles that share a tag use this Downloader. Untagged titles use untagged Downloaders.

Paths

Fill Downloader's path and HolyArrs' path under Different folder names only when the two apps see the download folder under different names. Example: the Downloader saves to /data/torrents and HolyArrs sees it as /downloads. Add a path pair adds another row.

The better fix is one shared parent folder mounted at the same path in both containers. See Folders.

Reach the local network

On by default, since Downloaders usually run at home. Turn it off for a Downloader on the internet.

HolyArrs can change this Downloader

Off means new downloads still go there, but HolyArrs never pauses, changes or removes anything already in it. Use it for a Downloader you share with other apps.

Remove after seeding

Torrent Downloaders only, and off by default. When it is on, HolyArrs removes a torrent it sent once the import is done and seeding is over. Seeding is over when the torrent app stops seeding it on its own. With qBittorrent and rTorrent you can also set a ratio goal or a seeding time goal; whichever comes first counts. An unknown ratio or seeding time never counts.

Also delete its files deletes the downloaded files too. HolyArrs keeps them when your Library folder is inside the download (or the download is inside your Library), when the download is a whole save folder, or when another torrent in the same app uses the same files. Every removal shows in History.

A cross-seed twin in a second torrent app is not detected, so leave Also delete its files off if you cross-seed between apps.

This choice needs HolyArrs can change this Downloader on.

Give up on dead torrents sooner

Under When downloads go wrong, open Advanced. Off by default. A torrent fails, and HolyArrs searches again, when it is stuck finding its files for longer than the minutes you set, or when it stays slower than the speed you set for the hours you set. Paused and queued time does not count.

Follow a download

A title's page shows each download: waiting its turn, downloading with speed and time left, stalled, or failed with the reason.

Press Mark failed to end a download you do not want. HolyArrs then:

  1. Adds that Release to the title's Turned down list so it is not picked again.
  2. Removes it from the Downloader, with its files.
  3. Searches again and sends the next best Release.

rTorrent cannot delete files over XML-RPC, so HolyArrs deletes them itself where its save folder or path pairs reach them. Otherwise the files stay on the rTorrent machine. The same goes for aria2, which never deletes files.

If nothing else passes your rules, the title shows Needs a decision.

Row states

State Meaning
Working Answered the last check
Paused You paused it. Nothing new is sent; current downloads are still followed
Resting It did not answer, so HolyArrs waits until the time shown
Not answering The last check got no answer
Sign-in refused The key or sign-in was turned down

Pause and Resume on the row stop and start sending. A Downloader that stops answering is skipped for up to 30 minutes.

If it does not work

Symptom: The SABnzbd test fails when Address uses a host name. Cause: SABnzbd refuses host names it does not know. Fix: Use its IP address, or add HolyArrs' host name to host_whitelist in SABnzbd under Config > Special.

Symptom: SABnzbd says the category is missing. Fix: Make the category in SABnzbd under Config > Categories, then press Test.

Symptom: Deluge does not work. Fix: In the Deluge Web UI, connect to your daemon yourself and turn on the Label plugin. HolyArrs does not pick a daemon.

Symptom: The rTorrent test says 404 or not found. Cause: The port or path is wrong. With crazymax/rtorrent-rutorrent, 8000 is XML-RPC and 8080 is the ruTorrent page. Fix: Use http://host:8000/RPC2, or a ruTorrent path from rTorrent address.

Symptom: rTorrent says not allowed for untrusted connections. Cause: ruTorrent blocks a command HolyArrs needs. Fix: Update ruTorrent, or point the Address at rTorrent's /RPC2.

Symptom: rTorrent refuses a Release with a size limit error. Fix: Raise network.xmlrpc.size_limit in rTorrent's config. In crazymax/rtorrent-rutorrent, set XMLRPC_SIZE_LIMIT.

Symptom: The aria2 test says Unauthorized. Fix: Copy rpc-secret from aria2.conf into Secret token, then press Test.

Symptom: The aria2 test says 404 or not found. Fix: The address ends in /jsonrpc, not /rpc. See aria2 address.

Symptom: aria2 shows a download paused with error: ... file exists (error 13). Cause: The files were already in that folder before aria2 took the torrent. HolyArrs does not delete them. Fix: Move or delete the old files yourself, or set check-integrity=true in aria2.conf so aria2 checks them.

Symptom: aria2 refuses a Release with already in aria2 in another folder. Cause: The same torrent is in aria2 under a folder that is not this Downloader's category. Fix: Remove it in aria2, or let it finish there.

Symptom: A .torrent or .nzb from a Source with a proxy is refused. Cause: Transmission, Deluge, rTorrent, aria2 and NZBGet cannot take those files through a proxied Source yet. Magnet links work.

Symptom: A row says Check whether this download arrived. Cause: The connection dropped while Transmission, Deluge, rTorrent, aria2 or NZBGet was taking a Release. HolyArrs does not send it again by itself. Fix:

  1. Look for the download in the Downloader app.
  2. In HolyArrs, press Give up on it. The download stays in the Downloader. Pick another Release under Needs a decision if you want one.

Symptom: Sign-in refused. Fix: Copy the key or password from the Downloader, type it again, press Test.

More in Troubleshooting.

For experts

How HolyArrs picks a Downloader
  • Torrent Releases go to torrent Downloaders, Usenet Releases to Usenet.
  • Lowest priority number first. Equal numbers take turns.
  • Paused and resting Downloaders are skipped.
  • If one refuses a Release, the next of the same kind is tried (Try the next Downloader).
  • Sends to one Downloader are spaced 2 s apart by default.
  • Tags must match. Untagged titles go to untagged Downloaders.
When downloads go wrong: what counts, and the settings

HolyArrs treats these like Mark failed:

  • The Downloader gives up (missing parts, failed repair). Its reason is shown.
  • The download holds programs such as .exe, .bat, .scr or .lnk, including movie.mkv.exe.
  • The download looks fake: a password note, only archives with no video or audio, or a web shortcut with no media beside it. Torrent file lists are read as soon as they arrive, so a fake fails before it downloads.
  • The files do not match the Release name. The import is refused and the download removed.
  • No progress for the give-up time. Waiting its turn, paused in the Downloader, and repairing or unpacking at 100% do not count.
  • The download was removed outside HolyArrs. It is replaced with the next Release.

These settings sit under When downloads go wrong on Settings > Downloaders. Press Save in the bar that appears after a change.

Setting Default Change it when
Remove failed downloads from the Downloader on You want to inspect failures (off). On also deletes their files
Add matched titles to your Library off You want a sure match already in a Downloader added without searching
When you remove a download: Delete its files on You want the files kept
When you remove a download: Turn down its Release off You never want that Release picked again for the title
When you remove a download: Search again on Off if you pick the next Release yourself. Needs Turn down its Release
Stalled after (hours) 6 Your downloads are slow by nature. Range 1 to 168
Try the next Release after (hours) 24 You prefer waiting over replacing. Counted from the last progress. Range: the stalled time up to 720
Fail downloads that hold programs or fakes on Rarely. Off lets them reach the import
Replace downloads removed outside HolyArrs on You remove downloads on purpose. Off makes the title wait for you
Try the next Downloader on You want one Downloader only
Seconds between sends to one Downloader 2 The Downloader chokes on bursts. 0 turns spacing off. Range 0 to 60
Lock a Downloader read only from the server

Set HOLYARRS_READONLY_DOWNLOADERS to a comma list of Downloader ids or addresses:

HOLYARRS_READONLY_DOWNLOADERS=http://your-server:8080

A listed Downloader stays read only whatever its switch says, even after remove and re-add. The switch shows as locked, and the Downloads page hides controls on its rows.

Removing, NZBGet removals, API
  • Remove is refused while the Downloader has active downloads. Pause it, let them finish, then remove.
  • NZBGet deletes files whenever a download or its history entry is removed, so HolyArrs refuses removals that ask to keep files.
  • rTorrent cannot delete data over XML-RPC. When a removal asks to delete files, HolyArrs deletes them itself where its save folder or path pairs reach them. Otherwise the files stay on the rTorrent machine and HolyArrs logs why.
  • On Downloads, an rTorrent row offers Pause and Resume, but not the other qBittorrent controls.
  • aria2 deletes nothing over JSON-RPC. When a removal or Mark failed asks to delete files, HolyArrs deletes only the files aria2 reported, plus their .aria2 control file, where its save folder or path pairs reach them.
  • Some aria2 images run a hook, such as the delete.sh in aria2-pro, that deletes unfinished files on any remove, even when HolyArrs asks to keep them. HolyArrs cannot stop that; turn the hook off in the image if you want them kept.
  • On Downloads, an aria2 row offers Pause and Resume, but not the other qBittorrent controls.
  • Every Downloader route is in http://your-server:6262/api/v1/openapi.json.

Related