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:

  • API_KEY - the API key can be obtained usually by navigating to SettingsGeneral (perhaps toggling the advanced settings) and then copying the string of the API key into the script,
  • HOST - the host is the access URL to the PVR including any URL base configured in SettingsGeneral

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.


linux/removing_broken_releases_from_smart_pvrs.txt · Last modified: 2024/03/06 12:03 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.