Table of Contents

About

Smart PVRs such as Sonarr, Lidarr and Radarr have the ability to automatically search and retrieve TV shows, music albums and movies using either torrent or usenet downloaders. Regrettably, the PVRs are a little slow to pick up torrents or usenet binaries that have high availability. At times, when using torrents, the public tracker websites tend to report more seeds than the torrent actually has such that am indexer such as Jackett passes the torrent on to the PVRs which in turn add the torrent yet the torrent becomes stalled due to a lack of seeders.

To work around the issue, given the APIs of the PVRs, it is possible to manually delete and blacklist releases that are either stalled, have no source or, in Lidarr's case, are downloaded but the content does not match the album fingerprint. In doing so, once the release is blacklisted, the PVR will avoid trying to download the same release again and makes room for other releases that might have sufficient availability.

Setup

The three provided scripts can be configured by editing the parameters in the CONFIGURATION section and then dropped in /etc/cron.hourly. On systems that do not have the /etc/cron.hourly directory, the scripts can be run periodically via cron depending on how the Linux distribution handles crontabs.

The configuration parameters are almost universal to each of the scripts for all PVRs:

Depending on the smart PVR, the may be additional keys to adjust such as whether to blacklist the release, remove the release from the download client, etc.

Index

The script for each Servarr can be found on its separate page along with a node-red flow in case it is preferable to using shell scripts.